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

RoadLogger Class Reference
[Reconfigurable Interface Example: Roads]

Standalone class for logging road information. More...

#include <RoadLogger.h>

Collaboration diagram for RoadLogger:

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 std::vector< utils::Vec3d > &points)
 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 24 of file RoadLogger.h.


Member Function Documentation

bool RoadLogger::logPoints utils::Time  time,
const std::vector< utils::Vec3d > &  points
 

Log a set of road points tagged with a time.

Parameters:
[in] time Time the road points were detected
[in] points Detected 3D road points
Returns:
true for success, false for failure

Definition at line 39 of file RoadLogger.cc.

References RoadDataStruct::num_points, RoadDataStruct::points, RoadDataPoint::x, RoadDataPoint::y, and RoadDataPoint::z.

Referenced by LoggerRoadDest::outputPoints().

bool RoadLogger::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 Road.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 34 of file RoadLogger.cc.

References open().

bool RoadLogger::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 RoadLogger.cc.

References ROAD_DATA_FMT.

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


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