MAV'RIC
Public Member Functions
Mission_handler_registry Class Reference

List of all members.

Public Member Functions

bool register_mission_handler (Mission_handler &handler)
 Registers the inputted handler to the array of known mission handlers. Performs a check to see if that object is already within the array.
Mission_handlerget_mission_handler (const Waypoint &waypoint)
 Attempts to get the mission handler form the registry.

Member Function Documentation

Attempts to get the mission handler form the registry.

If there is a mission handler that can take the waypoint, then the registry will return the first mission handler that can take it. If no mission handler can take the waypoint, then the mission handler will return NULL.

Parameters:
waypointThe waypoint to be handled
Returns:
The first acceptable mission handler or NULL

Here is the caller graph for this function:

Registers the inputted handler to the array of known mission handlers. Performs a check to see if that object is already within the array.

Parameters:
handlerThe new mission handler
Returns:
Success

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines