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

VehPoseLogger Class Reference
[Reconfigurable Interface Example: VehPose]

Standalone class for logging road information. More...

#include <VehPoseLogger.h>

Collaboration diagram for VehPoseLogger:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool open (const char *name, const utils::ConfigFile *header=(0L))
 Open a file for logging.
bool open (utils::ConfigFile &header)
 Open a file for logging.
bool logPoints (utils::Time time, const VehPose &pose)
 Log a set of road points tagged with a time.

Detailed Description

Standalone class for logging road information.

This class lets you open a structured canned data file and log data to it

Definition at line 25 of file VehPoseLogger.h.


Member Function Documentation

bool VehPoseLogger::logPoints utils::Time  time,
const VehPose pose
 

Log a set of road points tagged with a time.

Parameters:
[in] time Time the road points were detected
[in] pose The vehicle pose
Returns:
true for success, false for failure

Definition at line 42 of file VehPoseLogger.cc.

References VehPose::ori, VehPoseDataStruct::ori, VehPose::pos, VehPoseDataStruct::x, VehPoseDataStruct::y, and VehPoseDataStruct::z.

Referenced by LoggerVehPoseDest::outputPose().

bool VehPoseLogger::open utils::ConfigFile &  header  ) 
 

Open a file for logging.

Parameters:
[in] header A configuration file which can include a name field for specifying the file to open (which will default to VehPose.raw. This configuration file (modified by version information) will be included in the output as a header.
Returns:
true on success, false on failure

Definition at line 37 of file VehPoseLogger.cc.

References open().

bool VehPoseLogger::open const char *  name,
const utils::ConfigFile *  header = (0L)
 

Open a file for logging.

Parameters:
[in] name Name of file to open: this must be an absolute file name
[in] header An optional configuration file to include (modified by version information) in the output as a header.
Returns:
true on success, false on failure

Definition at line 10 of file VehPoseLogger.cc.

References VehPoseDataStruct::ori, VehPoseDataStruct::x, VehPoseDataStruct::y, and VehPoseDataStruct::z.

Referenced by LoggerVehPoseDest::init(), and open().


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