PowerInterface Class Reference
#include <PowerInterface.hh>
Detailed Description
Power interfacePublic Member Functions | |
PowerInterface (player_devaddr_t addr, GazeboDriver *driver, ConfigFile *cf, int section) | |
virtual | ~PowerInterface () |
virtual int | ProcessMessage (QueuePointer &respQueue, player_msghdr_t *hdr, void *data) |
virtual void | Update () |
virtual void | Subscribe () |
virtual void | Unsubscribe () |
Constructor & Destructor Documentation
PowerInterface | ( | player_devaddr_t | addr, | |
GazeboDriver * | driver, | |||
ConfigFile * | cf, | |||
int | section | |||
) |
Constructor
virtual ~PowerInterface | ( | ) | [virtual] |
Destructor
Member Function Documentation
virtual int ProcessMessage | ( | QueuePointer & | respQueue, | |
player_msghdr_t * | hdr, | |||
void * | data | |||
) | [virtual] |
Handle all messages. This is called from GazeboDriver
virtual void Update | ( | ) | [virtual] |
Update this interface, publish new info.
virtual void Subscribe | ( | ) | [virtual] |
Open a SHM interface when a subscription is received. \ This is called fromGazeboDriver::Subscribe
virtual void Unsubscribe | ( | ) | [virtual] |
Close a SHM interface. This is called from \ GazeboDriver::Unsubscribe
The documentation for this class was generated from the following file: