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

OutputRoadSource Class Reference

Container interface definition for RoadSource that transparently redirects to a RoadDest. More...

#include <OutputRoadSource.h>

Inheritance diagram for OutputRoadSource:

Inheritance graph
[legend]
Collaboration diagram for OutputRoadSource:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OutputRoadSource ()
virtual ~OutputRoadSource ()
virtual bool getPoints (utils::Time &time, std::vector< utils::Vec3d > &points, bool blocking=true)
 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.

Parameters:
[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.
Returns:
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, RoadSourceGenerator *gen, utils::SymbolTable *globals)
 Initialization routine.

Detailed Description

Container interface definition for RoadSource that transparently redirects to a RoadDest.

Definition at line 16 of file OutputRoadSource.h.


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