Utilities


Classes

class  ConfigItem
class  ConfigManager
class  ConfigSection
class  Error
 Specialization of Exception. More...
class  Exception
 General Exception. More...
class  Matrix< T >
class  Vector< N, T >
 A vector. More...
class  Warning
 Specialization of Exception. More...
class  WarningWrongFrameDataType
 thrown by AbstractModule::assertFramedataType More...

Functions

template<typename A , typename B >
convertTo (A a)

Function Documentation

template<typename A , typename B >
B convertTo ( a  )  [inline]

Convert variable of type A to variable of type B if possible.

Example: double value = convertTo<std::string, double>("3.14159");

Parameters:
a The value to convert
Returns:
The value as represented by type B

Definition at line 15 of file utils.h.


Generated on Sun Nov 30 23:45:40 2008 for Modular Motion Processor by  doxygen 1.5.7.1