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

ShmemRoadSource Class Reference

Shared Memory interface definition for RoadSource. More...

Inheritance diagram for ShmemRoadSource:

Inheritance graph
Collaboration diagram for ShmemRoadSource:

Collaboration graph
List of all members.

Public Member Functions

 ShmemRoadSource ()
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, utils::SymbolTable *globals)
 Initialization routine.

Detailed Description

Shared Memory interface definition for RoadSource.

Definition at line 17 of file

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