Navigation Class Reference

#include <Navigation.h>

Inherits NavigationInterface.

Collaboration diagram for Navigation:

List of all members.


Classes

class  ConverterToV1_0a4

Public Member Functions

 Navigation ()
virtual ~Navigation ()
virtual bool loadConfig (std::string configFile)
virtual void cleanup ()
virtual std::string getName ()
virtual NavigationInfo navigate (float dt)
void registerSpeedModelFactory (SpeedModelFactory *factory)
void registerOrientationModelFactory (OrientationModelFactory *factory)
void registerTranslationModelFactory (TranslationModelFactory *factory)

Protected Member Functions

SpeedModelgetSpeedModel (std::string name, ArgumentVector *argVec)
OrientationModelgetOrientationModel (std::string name, ArgumentVector *argVec)
TranslationModelgetTranslationModel (std::string name, ArgumentVector *argVec)

Protected Attributes

std::vector< SpeedModelFactory * > speedModelFactories
std::vector
< OrientationModelFactory * > 
orientationModelFactories
std::vector
< TranslationModelFactory * > 
translationModelFactories
std::vector< SpeedModelFactory * > navProvidedSpeedModelFactories
std::vector
< OrientationModelFactory * > 
navProvidedOrientationModelFactories
std::vector
< TranslationModelFactory * > 
navProvidedTranslationModelFactories
ControllerInterfacecontroller
EventPipeincomingEvents
TranslationModeltranslationModel
OrientationModelorientationModel
SpeedModelspeedModel
bool suspendNavigation

Static Private Attributes

static XmlConfigurationLoader xmlConfigLoader

Friends

class NavigationPauseEvent
class NavigationResumeEvent

Constructor & Destructor Documentation

Navigation::Navigation (  ) 

Navigation::~Navigation (  )  [virtual]


Member Function Documentation

void Navigation::cleanup (  )  [virtual]

Instruct the module to free all memory allocated internally.

Reimplemented from ModuleInterface.

std::string Navigation::getName (  )  [virtual]

Return the unique name of the module.

Implements ModuleInterface.

OrientationModel * Navigation::getOrientationModel ( std::string  name,
ArgumentVector argVec 
) [protected]

SpeedModel * Navigation::getSpeedModel ( std::string  name,
ArgumentVector argVec 
) [protected]

TranslationModel * Navigation::getTranslationModel ( std::string  name,
ArgumentVector argVec 
) [protected]

bool Navigation::loadConfig ( std::string  configFile  )  [virtual]

The loadConfig method parses a passed String, which should contain XML data. The configuration contains the names for speed-, orientation-, and translationmodel, which are subesequently parsed and evaluated.

Parameters:
configFile the XML configuration for the navigation models
Returns:
in case the parsing does not detect errors in the configuration true is returned, if errors are detected false is returned

Implements ModuleInterface.

NavigationInfo Navigation::navigate ( float  dt  )  [virtual]

Implements NavigationInterface.

void Navigation::registerOrientationModelFactory ( OrientationModelFactory factory  ) 

void Navigation::registerSpeedModelFactory ( SpeedModelFactory factory  ) 

void Navigation::registerTranslationModelFactory ( TranslationModelFactory factory  ) 


Friends And Related Function Documentation

friend class NavigationPauseEvent [friend]

friend class NavigationResumeEvent [friend]


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Wed Oct 20 16:11:58 2010 for inVRs by doxygen 1.5.8