cajun::draw_cbln_wp_t Class Reference

Draw cbln waypoint data. More...

#include <draw_cbln_wp.H>

Inheritance diagram for cajun::draw_cbln_wp_t:
cajun::component_interface_t

List of all members.

Public Member Functions

 draw_cbln_wp_t (double cbviz_origin[3], conf_t &conf, world_state_t *ws_)
 Create new object to draw cbln waypoint data.
virtual ~draw_cbln_wp_t ()
void toggle_display ()
 Toggle drawing of cbln wp data.
void update_data (double bot_pos_[3])
 Update data from world state data queue.
void display (double bot_pos[3])
 Draw cbln wp data.

Private Member Functions

bool read_cbln_wp ()
 Get cbln waypoint data from world state.

Private Attributes

cbln_data_t m_cbln_wp
 Cbln waypoint data.
double m_flag_posy
 Flag height.
bool m_display_wp_number
 Display waypoint number.

Detailed Description

Draw cbln waypoint data.


Constructor & Destructor Documentation

cajun::draw_cbln_wp_t::draw_cbln_wp_t ( double  cbviz_origin_pos[3],
conf_t &  conf,
world_state_t *  ws_ 
)

Create new object to draw cbln waypoint data.

Reference the following configuration entries:

  • waypoint_flag_pos_y
  • display_cbln_wp_number
  • displayCbln
Parameters:
cbviz_origin_pos Cbviz origin location.
conf Configuration file to take parameters.
ws_ World state to take cbln dtm data from.

References cajun::component_interface_t::m_cbviz_origin, cajun::component_interface_t::m_display, m_display_wp_number, m_flag_posy, cajun::component_interface_t::m_world_state, POSX, POSY, and POSZ.

virtual cajun::draw_cbln_wp_t::~draw_cbln_wp_t (  )  [inline, virtual]

Member Function Documentation

void draw_cbln_wp_t::display ( double  bot_pos[3]  )  [virtual]
bool draw_cbln_wp_t::read_cbln_wp (  )  [private]

Get cbln waypoint data from world state.

Returns:
True if there was data read.

References m_cbln_wp, cajun::component_interface_t::m_cbviz_origin, cajun::component_interface_t::m_world_state, POSX, and POSY.

Referenced by update_data().

void draw_cbln_wp_t::toggle_display (  )  [virtual]

Toggle drawing of cbln wp data.

Implements cajun::component_interface_t.

References cajun::component_interface_t::m_display.

void draw_cbln_wp_t::update_data ( double  bot_pos_[3]  )  [virtual]

Update data from world state data queue.

Parameters:
bot_pos_ Current bot position.

Implements cajun::component_interface_t.

References cajun::component_interface_t::m_data_ok, and read_cbln_wp().


Member Data Documentation

cbln_data_t cajun::draw_cbln_wp_t::m_cbln_wp [private]

Cbln waypoint data.

Referenced by display(), and read_cbln_wp().

Display waypoint number.

Referenced by display(), and draw_cbln_wp_t().

Flag height.

Referenced by display(), and draw_cbln_wp_t().


The documentation for this class was generated from the following files:

Generated on Fri Apr 9 10:45:18 2010 for Visualizer by  doxygen 1.6.1