LoggerModule Class Reference

Inheritance diagram for LoggerModule:
Inheritance graph
[legend]
Collaboration diagram for LoggerModule:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Definition at line 25 of file LoggerModule.H.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:23:04 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3