ERSPDevice Class Reference

#include <ersp.h>

List of all members.

Public Member Functions

 ERSPDevice (ConfigFile *cf, int section)
 ~ERSPDevice (void)
virtual int Setup ()
virtual int Update ()
virtual int Shutdown ()
virtual int Subscribe (player_devaddr_t id)
virtual int Unsubscribe (player_devaddr_t id)
virtual int ProcessMessage (MessageQueue *queue, player_msghdr *msghdr, void *data)

Private Attributes

player_devaddr_t devaddr
int subscriptions
union {
   player_position2d_data_t   position2d
   player_bumper_data_t   bumper
   player_ir_data_t   ir
   player_power_data_t   power
devdata
union {
   void *   handle
devices [ERSP_DEVICES]


Detailed Description

Definition at line 42 of file ersp.h.


Constructor & Destructor Documentation

ERSPDevice::ERSPDevice ( ConfigFile *  cf,
int  section 
)

ERSPDevice::~ERSPDevice ( void   ) 


Member Function Documentation

virtual int ERSPDevice::Setup (  )  [virtual]

virtual int ERSPDevice::Update (  )  [virtual]

virtual int ERSPDevice::Shutdown (  )  [virtual]

virtual int ERSPDevice::Subscribe ( player_devaddr_t  id  )  [virtual]

virtual int ERSPDevice::Unsubscribe ( player_devaddr_t  id  )  [virtual]

virtual int ERSPDevice::ProcessMessage ( MessageQueue *  queue,
player_msghdr *  msghdr,
void *  data 
) [virtual]


Member Data Documentation

player_devaddr_t ERSPDevice::devaddr [private]

Definition at line 45 of file ersp.h.

int ERSPDevice::subscriptions [private]

Definition at line 46 of file ersp.h.

player_position2d_data_t ERSPDevice::position2d [private]

Definition at line 48 of file ersp.h.

player_bumper_data_t ERSPDevice::bumper [private]

Definition at line 49 of file ersp.h.

Referenced by ERSP::Main().

player_ir_data_t ERSPDevice::ir [private]

Definition at line 50 of file ersp.h.

player_power_data_t ERSPDevice::power [private]

Definition at line 51 of file ersp.h.

union { ... } ERSPDevice::devdata [private]

void* ERSPDevice::handle [private]

Definition at line 62 of file ersp.h.

Referenced by ERSP::SetupERSP().

union { ... } ERSPDevice::devices[ERSP_DEVICES] [private]


The documentation for this class was generated from the following file:
Generated on Sat Jan 13 03:11:10 2007 for ERSP Player driver by  doxygen 1.5.1