#include <RoadPlayer.h>
Collaboration diagram for RoadPlayer:
Public Member Functions | |
bool | open (utils::ConfigFile ¶ms, utils::SymbolTable *globals) |
Open a file for playing. | |
bool | advance () |
Advance to the next set of road points. | |
bool | getPoints (utils::Time &time, std::vector< utils::Vec3d > &points) |
Get the current set of road points tagged with a time. | |
bool | nextPoints (utils::Time &time, std::vector< utils::Vec3d > &points, bool blocking=1) |
Get the next set of road points tagged with a time. | |
TimeSource::PlayerManager * | getManager () |
Provides access to the underlying canned data manager. |
This class lets you open a structured canned data file and get data from it
Definition at line 25 of file RoadPlayer.h.
|
Advance to the next set of road points.
Definition at line 46 of file RoadPlayer.cc. Referenced by nextPoints(). |
|
Get the current set of road points tagged with a time.
Definition at line 56 of file RoadPlayer.cc. References RoadDataStruct::num_points, RoadDataStruct::points, RoadDataPoint::x, RoadDataPoint::y, and RoadDataPoint::z. Referenced by nextPoints(). |
|
Get the next set of road points tagged with a time. This could have a side effect of advancing the file pointers
Definition at line 75 of file RoadPlayer.cc. References advance(), and getPoints(). Referenced by PlayerRoadSource::getPoints(). |
|
Open a file for playing.
Definition at line 9 of file RoadPlayer.cc. References ROAD_DATA_FMT. Referenced by PlayerRoadSource::init(). |