Public Member Functions | |
RetinaI (ModelManager &mgr, nub::ref< InputFrameSeries > ifs, const std::string &descrName="RetinaService", const std::string &tagName="RetinaService") | |
virtual ImageIceMod::ImageIce | getOutput (const Ice::Current &) |
virtual void | evolve (const SimEvents::EventMessagePtr &eMsg, const Ice::Current &) |
virtual void | run () |
The run function which runes in a sperate thread. | |
void | getFrame () |
void | initSimEvents (const Ice::CommunicatorPtr icPtr, const Ice::ObjectPrx objectPrx) |
RetinaI (int id, OptionManager &mgr, const std::string &descrName="Retina", const std::string &tagName="Retina") | |
virtual void | evolve () |
Evolve: Gets called by run in a while(1) loop. Anything that you want to happen continuously should go in here. | |
virtual void | updateMessage (const RobotSimEvents::EventMessagePtr &eMsg, const Ice::Current &) |
Get a message. | |
virtual void | registerTopics () |
and registerPublisher calls that you would like to happen automatically after init. |
Definition at line 57 of file RetinaService.H.
void RetinaI::evolve | ( | ) | [virtual] |
Evolve: Gets called by run in a while(1) loop. Anything that you want to happen continuously should go in here.
Reimplemented from RobotBrainComponent.
Definition at line 26 of file RetinaI.C.
References OModelParam< T >::getVal(), Image< T >::initialized(), and RobotBrainComponent::publish().
void RetinaI::registerTopics | ( | ) | [virtual] |
and registerPublisher calls that you would like to happen automatically after init.
Register Topics: This function is called at the end of init, and is virtual so that is can be overloaded by chid classes. In your overloaded version you should put all of the registerSubsciption
Reimplemented from RobotBrainComponent.
Definition at line 19 of file RetinaI.C.
References RobotBrainComponent::registerPublisher(), and RobotBrainComponent::registerSubscription().
void RetinaI::run | ( | ) | [virtual] |
The run function which runes in a sperate thread.
Reimplemented from RobotBrainComponent.
Definition at line 75 of file RetinaService.C.
References Image< T >::initialized().
void RetinaI::updateMessage | ( | const RobotSimEvents::EventMessagePtr & | eMsg, | |
const Ice::Current & | ||||
) | [virtual] |
Get a message.
Reimplemented from RobotBrainComponent.
Definition at line 50 of file RetinaI.C.
References OModelParam< T >::getVal().