#include <p_driver.h>
Public Member Functions | |
Interface (player_devaddr_t addr, StgDriver *driver, ConfigFile *cf, int section) | |
virtual int | ProcessMessage (QueuePointer &resp_queue, player_msghdr_t *hdr, void *data) |
virtual void | Publish (void) |
virtual void | Subscribe (void) |
virtual void | Subscribe (QueuePointer &queue) |
virtual void | Unsubscribe (void) |
virtual void | Unsubscribe (QueuePointer &queue) |
virtual | ~Interface (void) |
Public Attributes | |
player_devaddr_t | addr |
StgDriver * | driver |
double | last_publish_time |
double | publish_interval_msec |
Definition at line 58 of file p_driver.h.
Interface::Interface | ( | player_devaddr_t | addr, |
StgDriver * | driver, | ||
ConfigFile * | cf, | ||
int | section | ||
) |
Definition at line 214 of file p_driver.cc.
virtual Interface::~Interface | ( | void | ) | [inline, virtual] |
Definition at line 66 of file p_driver.h.
virtual int Interface::ProcessMessage | ( | QueuePointer & | resp_queue, |
player_msghdr_t * | hdr, | ||
void * | data | ||
) | [inline, virtual] |
Reimplemented in InterfaceLocalize, InterfaceFiducial, InterfaceRanger, InterfaceSpeech, InterfaceWifi, InterfaceGripper, InterfacePosition, and InterfaceSimulation.
Definition at line 74 of file p_driver.h.
virtual void Interface::Publish | ( | void | ) | [inline, virtual] |
Reimplemented in InterfaceLocalize, InterfaceBumper, InterfacePtz, InterfaceBlobfinder, InterfaceActArray, InterfaceFiducial, InterfacePower, InterfaceRanger, InterfaceSpeech, InterfaceWifi, InterfaceGripper, and InterfacePosition.
Definition at line 78 of file p_driver.h.
virtual void Interface::Subscribe | ( | void | ) | [inline, virtual] |
Reimplemented in InterfaceModel.
Definition at line 79 of file p_driver.h.
virtual void Interface::Subscribe | ( | QueuePointer & | queue | ) | [inline, virtual] |
Reimplemented in InterfaceGraphics3d, and InterfaceGraphics2d.
Definition at line 81 of file p_driver.h.
virtual void Interface::Unsubscribe | ( | void | ) | [inline, virtual] |
Reimplemented in InterfaceModel.
Definition at line 80 of file p_driver.h.
virtual void Interface::Unsubscribe | ( | QueuePointer & | queue | ) | [inline, virtual] |
Reimplemented in InterfaceGraphics3d, and InterfaceGraphics2d.
Definition at line 82 of file p_driver.h.
player_devaddr_t Interface::addr |
Definition at line 66 of file p_driver.h.
Definition at line 72 of file p_driver.h.
double Interface::last_publish_time |
Definition at line 69 of file p_driver.h.
Definition at line 70 of file p_driver.h.