FakeRoadSource Class ReferenceFake interface definition for RoadSource.
Inheritance diagram for FakeRoadSource:
[legend]Collaboration diagram for FakeRoadSource:
[legend]List of all members.
Public Member Functions
virtual bool ||getPoints (utils::Time &time, std::vector< utils::Vec3d > &points, bool blocking=1)|
| ||Returns the latest set of road points along with the time at which they were collected. Normally, the call is blocking, i.e., we block until the next unread set of points is acquired, but it can be polling, i.e., it returns immediately with the most recent set of road points.|
|[out] ||time ||The time at which the road information was collected. (0 if the road is invalid) |
|[out] ||points ||The vector of 3D road points |
|[in] ||blocking ||If |
true, then the call is blocking, if
false, it is polling.
true if "new" data has been acquired successfully,
false on an invalid read or if no new road data has been acquired since the last read. Note an invalid read can be verified by checking to see if
time.isZero() is true.
bool ||init (utils::ConfigFile ¶ms)|
| ||Initialization routine. |
Fake interface definition for RoadSource.
This interface reads in the triples of floating point number from the parameter
points and creates a list of road points which it continually returns using the current time
Definition at line 17 of file FakeRoadSource.cc.
The documentation for this class was generated from the following file:
Generated on Fri Jun 16 13:21:24 2006 for ModUtils by