#include <ArCentralMultiRobot.h>
Use this class in a central multi-robot server program.
Public Member Functions | |
ArCentralMultiRobot (ArCentralManager *manager, ArConfig *config, ArServerInfoDrawings *drawings, ArServerHandlerCommands *handlerCommands=NULL, ArServerHandlerPopup *popupHandler=NULL) | |
Constructor. | |
virtual | ~ArCentralMultiRobot () |
Destructor. | |
void | forwarderAdded (ArCentralForwarder *forwarder) |
Called when a new forwarder is added. | |
void | forwarderRemoved (ArCentralForwarder *forwarder) |
Called when a new forwarder is added. | |
void | loopOnceLegacy (void) |
Runs through all the clients and sends 'em the data (in the legacy way). | |
void | loopOnceNew (void) |
Runs through all the clients and sends 'em the data (in the new way). | |
virtual ArDrawingData * | getGetPathsDrawingData (void) |
Gets data used for visualizing all the paths of the robots. | |
void | netGetPaths (ArServerClient *client, ArNetPacket *packet) |
Sends the packet for all of the robot paths. | |
virtual ArDrawingData * | getGetStraightPathsDrawingData (void) |
Gets data used for visualizing all the paths of the robots. | |
void | netGetStraightPaths (ArServerClient *client, ArNetPacket *packet) |
Sends the packet for all of the robot paths. | |
virtual void * | runThread (void *arg) |
Sends the packet for all of the robot positions. | |
Classes | |
class | Robot |
This class holds the information from the client robot and also holds the pointers to the functors to delete when this item is deleted. More... |