#include <ArServerModeWander.h>
Inheritance diagram for ArServerModeWander:

drawingsExampleWithRobot.cpp, serverDemo.cpp, and simpleServerExample.cpp.
Public Member Functions | |
| virtual void | activate (void) |
| The function called when the mode is activated. | |
| ArServerModeWander (ArServerBase *server, ArRobot *robot) | |
| virtual void | checkDefault (void) |
| This will be called when there would be no other modes, if this mode wants to take over it should activate itself, if it doesn't want to take over it shouldn't activate. | |
| virtual void | deactivate (void) |
| The function called when the mode is deactivated. | |
| virtual ArActionGroup * | getActionGroup (void) |
| This function should return the action group this mode uses. | |
| void | netWander (ArServerClient *client, ArNetPacket *packet) |
| virtual void | userTask (void) |
| The ArMode's user task, don't need one, subclass must provide if needed. | |
| void | wander (void) |
| virtual | ~ArServerModeWander () |
Protected Attributes | |
| ArFunctor2C< ArServerModeWander, ArServerClient *, ArNetPacket * > | myNetWanderCB |
| ArActionGroupWander | myWanderGroup |
| ArServerModeWander::ArServerModeWander | ( | ArServerBase * | server, | |
| ArRobot * | robot | |||
| ) |
| ArServerModeWander::~ArServerModeWander | ( | ) | [virtual] |
| void ArServerModeWander::activate | ( | void | ) | [virtual] |
The function called when the mode is activated.
Subclasses must implement this, but also call baseActivate().-
Implements ArServerMode.
| virtual void ArServerModeWander::checkDefault | ( | void | ) | [inline, virtual] |
This will be called when there would be no other modes, if this mode wants to take over it should activate itself, if it doesn't want to take over it shouldn't activate.
Reimplemented from ArServerMode.
| void ArServerModeWander::deactivate | ( | void | ) | [virtual] |
The function called when the mode is deactivated.
Subclasses must implement this, and also call baseDeactivate().
Implements ArServerMode.
| virtual ArActionGroup* ArServerModeWander::getActionGroup | ( | void | ) | [inline, virtual] |
| void ArServerModeWander::netWander | ( | ArServerClient * | client, | |
| ArNetPacket * | packet | |||
| ) |
| void ArServerModeWander::userTask | ( | void | ) | [virtual] |
The ArMode's user task, don't need one, subclass must provide if needed.
Reimplemented from ArServerMode.
| void ArServerModeWander::wander | ( | void | ) |
ArFunctor2C<ArServerModeWander, ArServerClient *, ArNetPacket *> ArServerModeWander::myNetWanderCB [protected] |
ArActionGroupWander ArServerModeWander::myWanderGroup [protected] |
1.4.7