#include <rndf_lane_container.H>
Classes | |
struct | lane_seg_id_pair_t |
Key for map data structure for lane boundary points for each pair of consecutive rndf waypoints. More... | |
Public Member Functions | |
rndf_lane_container_t () | |
bool | get_lane_seg (rndf_lane_data_t &lb_, unsigned start_sid_, unsigned start_lid_, unsigned start_wid_, unsigned end_sid_, unsigned end_lid_, unsigned end_wid_) |
bool | update_rndf_lanes (std::vector< rndf_lane_data_t > &rndf_list_) |
void | update_rndf_lane (rndf_lane_data_t &rl_) |
void | get_all_lane_segments (std::vector< rndf_lane_data_t > &rndf_lanes) |
bool | get_lane_boundary (rndf_lane_data_t &lb_, unsigned seg_id_, unsigned l_id_) |
Returns the index to lane boundary in vector m_lane_boundaries. If failed to find the lane, returns index == m_lane_boundaries->size(). | |
Private Types | |
typedef std::map < lane_seg_id_pair_t, rndf_lane_data_t > | lane_container_t |
Maintain unique copies of lane boundary points between a pair of consecutive rndf waypoints. | |
Private Attributes | |
lane_container_t | m_lane_boundaries |
typedef std::map<lane_seg_id_pair_t, rndf_lane_data_t> cajun::rndf_lane_container_t::lane_container_t [private] |
Maintain unique copies of lane boundary points between a pair of consecutive rndf waypoints.
cajun::rndf_lane_container_t::rndf_lane_container_t | ( | ) | [inline] |
void rndf_lane_container_t::get_all_lane_segments | ( | std::vector< rndf_lane_data_t > & | rndf_lanes | ) |
References m_lane_boundaries.
Referenced by cajun::world_state_t::get_all_lane_segments().
bool rndf_lane_container_t::get_lane_boundary | ( | rndf_lane_data_t & | lb_, | |
unsigned | seg_id_, | |||
unsigned | l_id_ | |||
) |
Returns the index to lane boundary in vector m_lane_boundaries. If failed to find the lane, returns index == m_lane_boundaries->size().
References m_lane_boundaries.
Referenced by cajun::world_state_t::get_lane_boundary().
bool rndf_lane_container_t::get_lane_seg | ( | rndf_lane_data_t & | lb_, | |
unsigned | start_sid_, | |||
unsigned | start_lid_, | |||
unsigned | start_wid_, | |||
unsigned | end_sid_, | |||
unsigned | end_lid_, | |||
unsigned | end_wid_ | |||
) |
References m_lane_boundaries.
Referenced by cajun::world_state_t::get_lane_seg().
void rndf_lane_container_t::update_rndf_lane | ( | rndf_lane_data_t & | rl_ | ) |
References m_lane_boundaries.
Referenced by cajun::world_state_t::update_rndf_lane().
bool cajun::rndf_lane_container_t::update_rndf_lanes | ( | std::vector< rndf_lane_data_t > & | rndf_list_ | ) |
Referenced by get_all_lane_segments(), get_lane_boundary(), get_lane_seg(), and update_rndf_lane().