Gazebo

PowerInterface Class Reference

#include <PowerInterface.hh>

List of all members.


Detailed Description

Power interface.


Public Member Functions

 PowerInterface (player_devaddr_t addr, GazeboDriver *driver, ConfigFile *cf, int section)
 Constructor.
virtual ~PowerInterface ()
 Destructor.
virtual int ProcessMessage (QueuePointer &respQueue, player_msghdr_t *hdr, void *data)
 Handle all messages. This is called from GazeboDriver.
virtual void Update ()
 Update this interface, publish new info.
virtual void Subscribe ()
 Open a SHM interface when a subscription is received.
virtual void Unsubscribe ()
 Close a SHM interface.


Member Function Documentation

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:

Last updated Aug 04 2007