rm_control
Loading...
Searching...
No Matches
rm_common::SwitchControllersServiceCaller Class Reference

#include <service_caller.h>

Inheritance diagram for rm_common::SwitchControllersServiceCaller:
Collaboration diagram for rm_common::SwitchControllersServiceCaller:

Public Member Functions

 SwitchControllersServiceCaller (ros::NodeHandle &nh)
 
void startControllers (const std::vector< std::string > &controllers)
 
void stopControllers (const std::vector< std::string > &controllers)
 
bool getOk ()
 
- Public Member Functions inherited from rm_common::ServiceCallerBase< controller_manager_msgs::SwitchController >
 ServiceCallerBase (ros::NodeHandle &nh, const std::string &service_name="")
 
 ServiceCallerBase (ros::NodeHandle &nh, std::string &service_name)
 
 ServiceCallerBase (XmlRpc::XmlRpcValue &controllers, ros::NodeHandle &nh, const std::string &service_name="")
 
 ~ServiceCallerBase ()
 
void callService ()
 
controller_manager_msgs::SwitchController & getService ()
 
bool isCalling ()
 

Additional Inherited Members

- Protected Member Functions inherited from rm_common::ServiceCallerBase< controller_manager_msgs::SwitchController >
void callingThread ()
 
- Protected Attributes inherited from rm_common::ServiceCallerBase< controller_manager_msgs::SwitchController >
std::string service_name_
 
ros::ServiceClient client_
 
controller_manager_msgs::SwitchController service_
 
std::thread * thread_
 
std::mutex mutex_
 
int fail_count_
 
int fail_limit_
 

Constructor & Destructor Documentation

◆ SwitchControllersServiceCaller()

rm_common::SwitchControllersServiceCaller::SwitchControllersServiceCaller ( ros::NodeHandle & nh)
inlineexplicit

Member Function Documentation

◆ getOk()

bool rm_common::SwitchControllersServiceCaller::getOk ( )
inline

◆ startControllers()

void rm_common::SwitchControllersServiceCaller::startControllers ( const std::vector< std::string > & controllers)
inline

◆ stopControllers()

void rm_common::SwitchControllersServiceCaller::stopControllers ( const std::vector< std::string > & controllers)
inline

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