Class ClRosLaunch2
Defined in File smacc_ros_launch_client_2.hpp
Inheritance Relationships
Base Type
public smacc2::ISmaccClient
(Class ISmaccClient)
Class Documentation
-
class ClRosLaunch2 : public smacc2::ISmaccClient
Public Functions
-
ClRosLaunch2()
-
ClRosLaunch2(std::string packageName, std::string launchFilename)
-
virtual ~ClRosLaunch2()
-
void launch()
-
void stop()
Public Static Functions
-
static std::future<std::string> executeRosLaunch(std::string packageName, std::string launchFilename, std::function<bool()> cancelCondition, ClRosLaunch2 *client = nullptr)
Protected Types
-
typedef std::function<void> cancelCallback
Protected Attributes
-
std::future<std::string> result_
-
std::atomic<bool> cancellationToken_ = ATOMIC_VAR_INIT(false)
Protected Static Attributes
-
static std::map<std::future<void>, cancelCallback> detached_futures_
-
ClRosLaunch2()