#include <interface_mapping.h>
Public Member Functions | |
std::vector < canopen::MotorBase::OperationMode > | getInterfaceModes (const std::string &interface) |
bool | hasConflict (const std::string &interface, canopen::MotorBase::OperationMode mode) |
InterfaceMapping () | |
Private Types | |
typedef boost::bimap < boost::bimaps::multiset_of < std::string > , boost::bimaps::set_of < canopen::MotorBase::OperationMode > > | bimap_type |
Private Attributes | |
bimap_type | mapping_ |
Definition at line 13 of file interface_mapping.h.
typedef boost::bimap<boost::bimaps::multiset_of<std::string>, boost::bimaps::set_of<canopen::MotorBase::OperationMode> > InterfaceMapping::bimap_type [private] |
Definition at line 14 of file interface_mapping.h.
InterfaceMapping::InterfaceMapping | ( | ) | [inline] |
Definition at line 17 of file interface_mapping.h.
std::vector<canopen::MotorBase::OperationMode> InterfaceMapping::getInterfaceModes | ( | const std::string & | interface | ) | [inline] |
Definition at line 29 of file interface_mapping.h.
bool InterfaceMapping::hasConflict | ( | const std::string & | interface, |
canopen::MotorBase::OperationMode | mode | ||
) | [inline] |
Definition at line 36 of file interface_mapping.h.
bimap_type InterfaceMapping::mapping_ [private] |
Definition at line 15 of file interface_mapping.h.