MapsTrackManager Class Reference

#include <MapsTrackManager.hh>

List of all members.


Detailed Description

MapsTrackManager.hh

Persistency class for libMapsTracks.so

Usage

Track export

Construct an instance of this class, then add sensors to it, then add tracks to it. Set the most left and most right sensors of the global coordinate system.

Then use exportToRootFile(char* rootFileName) to save the tracks to disk.

Track import

Construct an instance of this class, then use recreateFromRootFile(char* rootFileName) to recreate the sensors and tracks. You are advised to set the left and right most sensors before proceeding.

Definition at line 81 of file MapsTrackManager.hh.

Public Member Functions

 MapsTrackManager (std::vector< MapsSensor * > sensors)
 MapsTrackManager ()
 MapsTrackManager (char *rootFileName)
virtual ~MapsTrackManager ()
void addTrack (MapsTrack *mt)
void addSensor (MapsSensor *)
void setSensors (std::vector< MapsSensor * > sensors)
std::vector< MapsTrack * > & getTracks ()
std::vector< MapsSensor * > & getSensors ()
void setRequiredLeftSensor (MapsSensor *left)
void setRequiredRightSensor (MapsSensor *right)
void exportToRootFile (char *rootFileName)
void recreateFromRootFile (char *rootFileName) throw (MapsException)


Constructor & Destructor Documentation

MapsTrackManager::MapsTrackManager ( std::vector< MapsSensor * >  sensors  ) 

Definition at line 14 of file MapsTrackManager.cc.

MapsTrackManager::MapsTrackManager (  ) 

Definition at line 22 of file MapsTrackManager.cc.

MapsTrackManager::MapsTrackManager ( char *  rootFileName  ) 

MapsTrackManager::~MapsTrackManager (  )  [virtual]

Definition at line 27 of file MapsTrackManager.cc.


Member Function Documentation

void MapsTrackManager::addTrack ( MapsTrack mt  ) 

Definition at line 30 of file MapsTrackManager.cc.

Referenced by main().

void MapsTrackManager::addSensor ( MapsSensor  ) 

Definition at line 40 of file MapsTrackManager.cc.

References MapsSensor::id().

void MapsTrackManager::setSensors ( std::vector< MapsSensor * >  sensors  ) 

Definition at line 45 of file MapsTrackManager.cc.

Referenced by main().

std::vector< MapsTrack * > & MapsTrackManager::getTracks (  ) 

Definition at line 33 of file MapsTrackManager.cc.

Referenced by main(), and startSender().

std::vector< MapsSensor * > & MapsTrackManager::getSensors (  ) 

Definition at line 36 of file MapsTrackManager.cc.

Referenced by main().

void MapsTrackManager::setRequiredLeftSensor ( MapsSensor left  ) 

Definition at line 49 of file MapsTrackManager.cc.

Referenced by main().

void MapsTrackManager::setRequiredRightSensor ( MapsSensor right  ) 

Definition at line 53 of file MapsTrackManager.cc.

Referenced by main().

void MapsTrackManager::exportToRootFile ( char *  rootFileName  ) 

Definition at line 169 of file MapsTrackManager.cc.

References MapsTrack::chiSqProb().

Referenced by main().

void MapsTrackManager::recreateFromRootFile ( char *  rootFileName  )  throw (MapsException)

Definition at line 57 of file MapsTrackManager.cc.

References MapsTrack::chiSq().

Referenced by main(), and startSender().


The documentation for this class was generated from the following files:
Generated on Wed Mar 19 17:47:58 2008 for MapsTracks by  doxygen 1.5.2