Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

FakeRoadSource Class Reference

Fake interface definition for RoadSource. More...

Inheritance diagram for FakeRoadSource:

Inheritance graph
Collaboration diagram for FakeRoadSource:

Collaboration graph
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 &params)
 Initialization routine.

Detailed Description

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

The documentation for this class was generated from the following file:
Generated on Fri Jun 16 13:21:24 2006 for ModUtils by  doxygen 1.4.4