Class ClRosLaunch
Defined in File smacc_ros_launch_client.hpp
Inheritance Relationships
Base Type
public smacc2::ISmaccClient
(Class ISmaccClient)
Class Documentation
-
class ClRosLaunch : public smacc2::ISmaccClient
Public Functions
-
ClRosLaunch(std::string packageName, std::string launchFilename)
-
virtual ~ClRosLaunch()
-
void launch()
-
void stop()
Public Static Functions
-
static std::future<std::string> executeRosLaunch(std::string packageName, std::string launchFilename, std::function<bool()> cancelCondition)
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_
-
ClRosLaunch(std::string packageName, std::string launchFilename)