Classes | |
struct | StateInfo |
struct | TopicInfo |
Public Types | |
enum | STATES { START_OF_GAME_MSG, WAIT_FOR_GAME_START, INIT_PTZ, INIT_PTZ_DONE, SET_TRACKING, TRACKING, SET_SEG_LOC, GET_SEG_IMG, GET_OBJ_INFO, GET_OBJ_STATE, ZOOM_OUT, ZOOM_OUT_DONE, GAMEPLAY_PLAYERMOVE, GAMEPLAY_PLAYERMOVE_DONE } |
Public Member Functions | |
PrefrontalCortexI (OptionManager &mgr, const std::string &descrName="PrefrontalCortexService", const std::string &tagName="PrefrontalCortexService") | |
virtual void | evolve (const SimEvents::EventMessagePtr &eMsg, const Ice::Current &) |
void | initSimEvents (Ice::CommunicatorPtr icPtr, Ice::ObjectPrx objectPrx) |
void | unsubscribeSimEvents () |
void | assignStates () |
void | setCurrentState (int s) |
int | processState (int state, const SimEvents::EventMessagePtr &eMsg) |
void | setSalientTrackLoc (const SimEvents::SaliencyMapMessagePtr &msg) |
void | setTrackLoc (Point2D< int > loc) |
void | setTrackSegLoc (const SimEvents::VisualTrackerMessagePtr &msg) |
void | setPTZoomIn () |
void | init () |
PrefrontalCortexI (OptionManager &mgr, const std::string &descrName="PreforntalCortex", const std::string &tagName="PreforntalCortex") | |
virtual void | run () |
void | evolve () |
virtual void | updateMessage (const RobotSimEvents::EventMessagePtr &eMsg, const Ice::Current &) |
Get a gps message and compute the location. | |
void | init (Ice::CommunicatorPtr ic, Ice::ObjectAdapterPtr adapter) |
Initalize the object. |
Definition at line 58 of file PrefrontalCortexService.H.
void PrefrontalCortexI::init | ( | Ice::CommunicatorPtr | ic, | |
Ice::ObjectAdapterPtr | adapter | |||
) |
Initalize the object.
Definition at line 71 of file PrefrontalCortexI.C.
void PrefrontalCortexI::updateMessage | ( | const RobotSimEvents::EventMessagePtr & | eMsg, | |
const Ice::Current & | ||||
) | [virtual] |
Get a gps message and compute the location.
Definition at line 150 of file PrefrontalCortexI.C.