Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

DynamicInfo::DynamicCapabilities Class Reference

provides polymorphic robot capability detection/mapping More...

#include <DynamicInfo.h>

Inheritance diagram for DynamicInfo::DynamicCapabilities:

Detailed Description

provides polymorphic robot capability detection/mapping

Definition at line 65 of file DynamicInfo.h.

List of all members.

Public Member Functions

 DynamicCapabilities ()
 constructor
DynamicCapabilitiesoperator= (const Capabilities &cap)
unsigned int getOutputOffset (const std::string &out)
unsigned int getFrameOffset (const std::string &frame)
unsigned int getButtonOffset (const std::string &but)
unsigned int getSensorOffset (const std::string &sen)
unsigned int findOutputOffset (const std::string &out)
unsigned int findFrameOffset (const std::string &frame)
unsigned int findButtonOffset (const std::string &but)
unsigned int findSensorOffset (const std::string &sen)
void enableMemoization (bool b)
bool isMemoizing () const

Protected Member Functions

unsigned int memoLookup (std::vector< std::string > &idxToName, std::map< std::string, unsigned int > &nameToIndex, unsigned &dim, const std::string &capname)

Protected Attributes

bool memoization

Constructor & Destructor Documentation

DynamicInfo::DynamicCapabilities::DynamicCapabilities (  ) 

constructor

Definition at line 68 of file DynamicInfo.h.


Member Function Documentation

void DynamicInfo::DynamicCapabilities::enableMemoization ( bool  b  ) 

Definition at line 138 of file DynamicInfo.h.

unsigned int DynamicInfo::DynamicCapabilities::findButtonOffset ( const std::string &  but  ) 

Definition at line 135 of file DynamicInfo.h.

unsigned int DynamicInfo::DynamicCapabilities::findFrameOffset ( const std::string &  frame  ) 

Definition at line 124 of file DynamicInfo.h.

unsigned int DynamicInfo::DynamicCapabilities::findOutputOffset ( const std::string &  out  ) 

Definition at line 113 of file DynamicInfo.h.

unsigned int DynamicInfo::DynamicCapabilities::findSensorOffset ( const std::string &  sen  ) 

Definition at line 136 of file DynamicInfo.h.

unsigned int DynamicInfo::DynamicCapabilities::getButtonOffset ( const std::string &  but  ) 

Definition at line 110 of file DynamicInfo.h.

unsigned int DynamicInfo::DynamicCapabilities::getFrameOffset ( const std::string &  frame  ) 

Definition at line 99 of file DynamicInfo.h.

unsigned int DynamicInfo::DynamicCapabilities::getOutputOffset ( const std::string &  out  ) 

Definition at line 88 of file DynamicInfo.h.

unsigned int DynamicInfo::DynamicCapabilities::getSensorOffset ( const std::string &  sen  ) 

Definition at line 111 of file DynamicInfo.h.

bool DynamicInfo::DynamicCapabilities::isMemoizing (  )  const

Definition at line 139 of file DynamicInfo.h.

unsigned int DynamicInfo::DynamicCapabilities::memoLookup ( std::vector< std::string > &  idxToName,
std::map< std::string, unsigned int > &  nameToIndex,
unsigned &  dim,
const std::string &  capname 
) [protected]
DynamicCapabilities& DynamicInfo::DynamicCapabilities::operator= ( const Capabilities cap  ) 

Definition at line 73 of file DynamicInfo.h.


Member Data Documentation


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:22 2016 by Doxygen 1.6.3