Public Member Functions | Private Attributes | List of all members
SwitchBot::Joint Class Reference

Public Member Functions

void doSwitch (const std::string &n)
 
 Joint (const std::string &n, hardware_interface::JointStateInterface &iface)
 
bool prepareSwitch (const std::string &n)
 
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_
 

Detailed Description

Definition at line 72 of file hwi_switch_test.cpp.

Constructor & Destructor Documentation

◆ Joint()

SwitchBot::Joint::Joint ( const std::string &  n,
hardware_interface::JointStateInterface iface 
)
inline

Definition at line 79 of file hwi_switch_test.cpp.

Member Function Documentation

◆ doSwitch()

void SwitchBot::Joint::doSwitch ( const std::string &  n)
inline

Definition at line 94 of file hwi_switch_test.cpp.

◆ prepareSwitch()

bool SwitchBot::Joint::prepareSwitch ( const std::string &  n)
inline

Definition at line 89 of file hwi_switch_test.cpp.

◆ registerHandle()

template<typename Interface >
void SwitchBot::Joint::registerHandle ( Interface &  iface,
bool  can_switch 
)
inline

Definition at line 84 of file hwi_switch_test.cpp.

Member Data Documentation

◆ current_

std::string SwitchBot::Joint::current_
private

Definition at line 76 of file hwi_switch_test.cpp.

◆ dummy_

double SwitchBot::Joint::dummy_
private

Definition at line 74 of file hwi_switch_test.cpp.

◆ interfaces_

std::set<std::string> SwitchBot::Joint::interfaces_
private

Definition at line 75 of file hwi_switch_test.cpp.

◆ jsh_

hardware_interface::JointStateHandle SwitchBot::Joint::jsh_
private

Definition at line 77 of file hwi_switch_test.cpp.


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


controller_manager
Author(s): Wim Meeussen, Mathias Lüdtke
autogenerated on Mon Feb 28 2022 23:30:17