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

OutputVehPoseSource Class Reference

Container interface definition for VehPoseSource that transparently redirects to a VehPoseDest. More...

#include <OutputVehPoseSource.h>

Inheritance diagram for OutputVehPoseSource:

Inheritance graph
[legend]
Collaboration diagram for OutputVehPoseSource:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OutputVehPoseSource ()
virtual ~OutputVehPoseSource ()
virtual bool getCurPose (utils::Time &time, VehPose &pose, bool blocking=true)
 Returns the latest vehicle pose along with the time at which it was collected. The call can be blocking, i.e., we block until the next unread vehicle pose is acquired, but it is usually polling, i.e., it returns immediately with the most recent vehicle pose

Parameters:
[out] time The time at which the road information was collected. (0 if the road is invalid)
[out] pose The vehicle pose
[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.

virtual bool getPose (utils::Time time, VehPose &pose)
 Returns the vehicle pose at the given time. The implementation will attempt to interpolate or extrapolate from known poses to get the pose at the desired time.

Parameters:
[in] time The time for which to get the vehicle pose.
[out] pose The resulting vehicle pose
Returns:
true if the routine was able to obtain a vehicle pose at the desired time, false if not.

bool init (utils::ConfigFile &params, VehPoseSourceGenerator *gen, utils::SymbolTable *globals)
 Initialization routine.

Detailed Description

Container interface definition for VehPoseSource that transparently redirects to a VehPoseDest.

Definition at line 16 of file OutputVehPoseSource.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