Public Member Functions | |
LoggerModule (int id, OptionManager &mgr, const std::string &descrName="LoggerModule", const std::string &tagName="LoggerModule") | |
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 &) |
to publishes a message. | |
virtual void | registerTopics () |
and registerPublisher calls that you would like to happen automatically after init. |
Definition at line 25 of file LoggerModule.H.
void LoggerModule::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 42 of file LoggerModule.C.
References OModelParam< T >::getVal(), and PnmWriter::writeRGB().
void LoggerModule::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 36 of file LoggerModule.C.
References RobotBrainComponent::registerSubscription().
void LoggerModule::updateMessage | ( | const RobotSimEvents::EventMessagePtr & | eMsg, | |
const Ice::Current & | ||||
) | [virtual] |
to publishes a message.
Update Message: Gets called by the Ice runtime when a publisher of a message that your object subscribes
Reimplemented from RobotBrainComponent.
Definition at line 83 of file LoggerModule.C.