SMACC2
|
#include <smacc_ros_launch_client.hpp>
Static Public Member Functions | |
static std::future< std::string > | executeRosLaunch (std::string packageName, std::string launchFilename, std::function< bool()> cancelCondition) |
Public Attributes | |
std::string | packageName_ |
std::string | launchFileName_ |
Protected Types | |
typedef std::function< void > | cancelCallback |
Protected Attributes | |
std::future< std::string > | result_ |
std::atomic< bool > | cancellationToken_ = ATOMIC_VAR_INIT(false) |
Protected Attributes inherited from smacc2::ISmaccClient | |
std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > | components_ |
Static Protected Attributes | |
static std::map< std::future< void >, cancelCallback > | detached_futures_ |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccClient | |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createComponent (TArgs... targs) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createNamedComponent (std::string name, TArgs... targs) |
rclcpp::Node::SharedPtr | getNode () |
rclcpp::Logger | getLogger () |
Definition at line 33 of file smacc_ros_launch_client.hpp.
|
protected |
Definition at line 54 of file smacc_ros_launch_client.hpp.
smacc2::client_bases::ClRosLaunch::ClRosLaunch | ( | std::string | packageName, |
std::string | launchFilename | ||
) |
Definition at line 27 of file smacc_ros_launch_client.cpp.
|
virtual |
Definition at line 32 of file smacc_ros_launch_client.cpp.
|
static |
Definition at line 42 of file smacc_ros_launch_client.cpp.
Referenced by launch(), and smacc2::client_behaviors::CbRosLaunch::onEntry().
void smacc2::client_bases::ClRosLaunch::launch | ( | ) |
Definition at line 34 of file smacc_ros_launch_client.cpp.
References cancellationToken_, executeRosLaunch(), launchFileName_, packageName_, and result_.
Referenced by smacc2::client_behaviors::CbRosLaunch::onEntry().
void smacc2::client_bases::ClRosLaunch::stop | ( | ) |
|
protected |
Definition at line 58 of file smacc_ros_launch_client.hpp.
|
staticprotected |
Definition at line 56 of file smacc_ros_launch_client.hpp.
std::string smacc2::client_bases::ClRosLaunch::launchFileName_ |
Definition at line 49 of file smacc_ros_launch_client.hpp.
Referenced by launch(), and smacc2::client_behaviors::CbRosLaunch::onEntry().
std::string smacc2::client_bases::ClRosLaunch::packageName_ |
Definition at line 47 of file smacc_ros_launch_client.hpp.
Referenced by launch(), and smacc2::client_behaviors::CbRosLaunch::onEntry().
|
protected |
Definition at line 52 of file smacc_ros_launch_client.hpp.
Referenced by launch().