#include <CachedSimpleWaypoint.h>
Collaboration diagram for carla::traffic_manager::CachedSimpleWaypoint:Public Member Functions | |
| CachedSimpleWaypoint ()=default | |
| CachedSimpleWaypoint (const SimpleWaypointPtr &simple_waypoint) | |
| void | Read (const std::vector< uint8_t > &content, unsigned long &start) |
| void | Read (std::ifstream &in_file) |
| void | Write (std::ofstream &out_file) |
Public Attributes | |
| int32_t | geodesic_grid_id |
| bool | is_junction |
| int32_t | lane_id |
| uint64_t | next_left_waypoint = 0 |
| uint64_t | next_right_waypoint = 0 |
| std::vector< uint64_t > | next_waypoints |
| std::vector< uint64_t > | previous_waypoints |
| uint32_t | road_id |
| uint8_t | road_option |
| float | s |
| uint32_t | section_id |
| uint64_t | waypoint_id |
Private Member Functions | |
| template<typename T > | |
| void | ReadValue (std::ifstream &in_file, T &out_obj) |
| template<typename T > | |
| void | ReadValue (const std::vector< uint8_t > &content, unsigned long &start, T &out_obj) |
| template<typename T > | |
| void | WriteValue (std::ofstream &out_file, const T &in_obj) |
Definition at line 18 of file CachedSimpleWaypoint.h.
|
default |
| carla::traffic_manager::CachedSimpleWaypoint::CachedSimpleWaypoint | ( | const SimpleWaypointPtr & | simple_waypoint | ) |
Definition at line 14 of file CachedSimpleWaypoint.cpp.
References geodesic_grid_id, is_junction, lane_id, next_left_waypoint, next_right_waypoint, next_waypoints, previous_waypoints, road_id, road_option, s, section_id, and waypoint_id.
| void carla::traffic_manager::CachedSimpleWaypoint::Read | ( | const std::vector< uint8_t > & | content, |
| unsigned long & | start | ||
| ) |
Definition at line 121 of file CachedSimpleWaypoint.cpp.
References geodesic_grid_id, is_junction, lane_id, next_left_waypoint, next_right_waypoint, next_waypoints, previous_waypoints, road_id, road_option, s, section_id, and waypoint_id.
Referenced by carla::traffic_manager::InMemoryMap::Load().
Here is the caller graph for this function:| void carla::traffic_manager::CachedSimpleWaypoint::Read | ( | std::ifstream & | in_file | ) |
Definition at line 79 of file CachedSimpleWaypoint.cpp.
References geodesic_grid_id, is_junction, lane_id, next_left_waypoint, next_right_waypoint, next_waypoints, previous_waypoints, road_id, road_option, s, section_id, and waypoint_id.
|
inlineprivate |
Definition at line 47 of file CachedSimpleWaypoint.h.
|
inlineprivate |
Definition at line 51 of file CachedSimpleWaypoint.h.
| void carla::traffic_manager::CachedSimpleWaypoint::Write | ( | std::ofstream & | out_file | ) |
Definition at line 41 of file CachedSimpleWaypoint.cpp.
References geodesic_grid_id, is_junction, lane_id, next_left_waypoint, next_right_waypoint, next_waypoints, previous_waypoints, road_id, road_option, s, section_id, and waypoint_id.
Referenced by carla::traffic_manager::InMemoryMap::Save().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 43 of file CachedSimpleWaypoint.h.
| int32_t carla::traffic_manager::CachedSimpleWaypoint::geodesic_grid_id |
Definition at line 29 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), carla::traffic_manager::InMemoryMap::Load(), Read(), and Write().
| bool carla::traffic_manager::CachedSimpleWaypoint::is_junction |
Definition at line 30 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), carla::traffic_manager::InMemoryMap::Load(), Read(), and Write().
| int32_t carla::traffic_manager::CachedSimpleWaypoint::lane_id |
Definition at line 23 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), carla::traffic_manager::InMemoryMap::Load(), Read(), and Write().
| uint64_t carla::traffic_manager::CachedSimpleWaypoint::next_left_waypoint = 0 |
Definition at line 27 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), Read(), and Write().
| uint64_t carla::traffic_manager::CachedSimpleWaypoint::next_right_waypoint = 0 |
Definition at line 28 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), Read(), and Write().
| std::vector<uint64_t> carla::traffic_manager::CachedSimpleWaypoint::next_waypoints |
Definition at line 25 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), Read(), and Write().
| std::vector<uint64_t> carla::traffic_manager::CachedSimpleWaypoint::previous_waypoints |
Definition at line 26 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), Read(), and Write().
| uint32_t carla::traffic_manager::CachedSimpleWaypoint::road_id |
Definition at line 21 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), carla::traffic_manager::InMemoryMap::Load(), Read(), and Write().
| uint8_t carla::traffic_manager::CachedSimpleWaypoint::road_option |
Definition at line 31 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), carla::traffic_manager::InMemoryMap::Load(), Read(), and Write().
| float carla::traffic_manager::CachedSimpleWaypoint::s |
Definition at line 24 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), carla::traffic_manager::InMemoryMap::Load(), Read(), and Write().
| uint32_t carla::traffic_manager::CachedSimpleWaypoint::section_id |
Definition at line 22 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), Read(), and Write().
| uint64_t carla::traffic_manager::CachedSimpleWaypoint::waypoint_id |
Definition at line 20 of file CachedSimpleWaypoint.h.
Referenced by CachedSimpleWaypoint(), carla::traffic_manager::InMemoryMap::Load(), Read(), and Write().
1.8.13