Sonar2IR Class Reference

#include <wonderwall.h>

List of all members.

Public Member Functions

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

Private Member Functions

void PutData (void)
int HandleConfig (MessageQueue *queue, player_msghdr *hdr, void *data)
int HandleCommand (player_msghdr *hdr, void *data)
void PutData (void)

Private Attributes

player_devaddr_t ir_id
player_devaddr_t sonar_id
player_ir_data_t ir_data
player_ir_pose_t ir_pose
player_sonar_power_config_t sonar_power
Device * sonar
bool republish_data
bool republish_pose
bool republish_power
bool republish_geom
int subscriptions
Device * sonar_dev


Detailed Description

Definition at line 78 of file sonar2ir.cc.


Constructor & Destructor Documentation

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

Definition at line 115 of file sonar2ir.cc.

References ir_id, republish_data, republish_pose, sonar_id, and subscriptions.

Sonar2IR::~Sonar2IR ( void   ) 

Definition at line 167 of file sonar2ir.cc.

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

Sonar2IR::~Sonar2IR ( void   ) 


Member Function Documentation

void Sonar2IR::PutData ( void   )  [private]

Definition at line 269 of file sonar2ir.cc.

References ir_data, ir_id, ir_pose, republish_data, republish_geom, republish_pose, republish_power, sonar_id, and sonar_power.

Referenced by Main().

void Sonar2IR::Main (  ) 

Definition at line 172 of file sonar2ir.cc.

References PutData().

Here is the call graph for this function:

int Sonar2IR::Setup (  ) 

Definition at line 139 of file sonar2ir.cc.

References ir_id, sonar, and sonar_id.

int Sonar2IR::Shutdown (  ) 

Definition at line 160 of file sonar2ir.cc.

References sonar.

int Sonar2IR::Subscribe ( player_devaddr_t  id  ) 

Definition at line 313 of file sonar2ir.cc.

int Sonar2IR::Unsubscribe ( player_devaddr_t  id  ) 

Definition at line 319 of file sonar2ir.cc.

int Sonar2IR::ProcessMessage ( MessageQueue *  queue,
player_msghdr *  msghdr,
void *  data 
)

Definition at line 193 of file sonar2ir.cc.

References ir_data, ir_id, ir_pose, MAX_IR_SAMPLES, republish_data, republish_geom, republish_pose, republish_power, sonar_id, and sonar_power.

int Sonar2IR::HandleConfig ( MessageQueue *  queue,
player_msghdr *  hdr,
void *  data 
) [private]

Definition at line 177 of file wonderwall.cc.

int Sonar2IR::HandleCommand ( player_msghdr *  hdr,
void *  data 
) [private]

Definition at line 186 of file wonderwall.cc.

void Sonar2IR::PutData ( void   )  [private]

void Sonar2IR::Main (  ) 

int Sonar2IR::Setup (  ) 

int Sonar2IR::Shutdown (  ) 

int Sonar2IR::Subscribe ( player_devaddr_t  id  ) 

int Sonar2IR::Unsubscribe ( player_devaddr_t  id  ) 

int Sonar2IR::ProcessMessage ( MessageQueue *  queue,
player_msghdr *  msghdr,
void *  data 
)


Member Data Documentation

player_devaddr_t Sonar2IR::ir_id [private]

Definition at line 82 of file sonar2ir.cc.

Referenced by ProcessMessage(), PutData(), Setup(), and Sonar2IR().

player_devaddr_t Sonar2IR::sonar_id [private]

Definition at line 82 of file sonar2ir.cc.

Referenced by ProcessMessage(), PutData(), Setup(), and Sonar2IR().

player_ir_data_t Sonar2IR::ir_data [private]

Definition at line 83 of file sonar2ir.cc.

Referenced by ProcessMessage(), and PutData().

player_ir_pose_t Sonar2IR::ir_pose [private]

Definition at line 84 of file sonar2ir.cc.

Referenced by ProcessMessage(), and PutData().

player_sonar_power_config_t Sonar2IR::sonar_power [private]

Definition at line 85 of file sonar2ir.cc.

Referenced by ProcessMessage(), and PutData().

Device* Sonar2IR::sonar [private]

Definition at line 86 of file sonar2ir.cc.

Referenced by Setup(), and Shutdown().

bool Sonar2IR::republish_data [private]

Definition at line 87 of file sonar2ir.cc.

Referenced by ProcessMessage(), PutData(), and Sonar2IR().

bool Sonar2IR::republish_pose [private]

Definition at line 87 of file sonar2ir.cc.

Referenced by ProcessMessage(), PutData(), and Sonar2IR().

bool Sonar2IR::republish_power [private]

Definition at line 87 of file sonar2ir.cc.

Referenced by ProcessMessage(), and PutData().

bool Sonar2IR::republish_geom [private]

Definition at line 87 of file sonar2ir.cc.

Referenced by ProcessMessage(), and PutData().

int Sonar2IR::subscriptions [private]

Definition at line 27 of file wonderwall.h.

Referenced by Sonar2IR().

Device* Sonar2IR::sonar_dev [private]

Definition at line 28 of file wonderwall.h.


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