Public Member Functions | |
bool | canSwitch (const std::string &n) const |
void | doSwitch (const std::string &n) |
Joint (const std::string &n, hardware_interface::JointStateInterface &iface) | |
template<typename Interface > | |
void | registerHandle (Interface &iface, bool can_switch) |
Private Attributes | |
std::string | current_ |
double | dummy_ |
std::set< std::string > | interfaces_ |
hardware_interface::JointStateHandle | jsh_ |
Definition at line 68 of file hwi_switch_test.cpp.
SwitchBot::Joint::Joint | ( | const std::string & | n, |
hardware_interface::JointStateInterface & | iface | ||
) | [inline] |
Definition at line 75 of file hwi_switch_test.cpp.
bool SwitchBot::Joint::canSwitch | ( | const std::string & | n | ) | const [inline] |
Definition at line 85 of file hwi_switch_test.cpp.
void SwitchBot::Joint::doSwitch | ( | const std::string & | n | ) | [inline] |
Definition at line 90 of file hwi_switch_test.cpp.
void SwitchBot::Joint::registerHandle | ( | Interface & | iface, |
bool | can_switch | ||
) | [inline] |
Definition at line 80 of file hwi_switch_test.cpp.
std::string SwitchBot::Joint::current_ [private] |
Definition at line 72 of file hwi_switch_test.cpp.
double SwitchBot::Joint::dummy_ [private] |
Definition at line 70 of file hwi_switch_test.cpp.
std::set<std::string> SwitchBot::Joint::interfaces_ [private] |
Definition at line 71 of file hwi_switch_test.cpp.
Definition at line 73 of file hwi_switch_test.cpp.