|
SMACC2
|
#include <smacc_ros_launch_client.hpp>


Public Member Functions | |
| ClRosLaunch (std::string packageName, std::string launchFilename) | |
| virtual | ~ClRosLaunch () |
| void | launch () |
| void | stop () |
Public Member Functions inherited from smacc2::ISmaccClient | |
| ISmaccClient () | |
| virtual | ~ISmaccClient () |
| virtual void | onInitialize () |
| virtual std::string | getName () const |
| template<typename TComponent > | |
| TComponent * | getComponent () |
| template<typename TComponent > | |
| TComponent * | getComponent (std::string name) |
| template<typename TComponent > | |
| TComponent * | getComponent (int index) |
| virtual smacc2::introspection::TypeInfo::Ptr | getType () |
| ISmaccStateMachine * | getStateMachine () |
| template<typename TSmaccSignal , typename T > | |
| void | connectSignal (TSmaccSignal &signal, void(T::*callback)(), T *object) |
| template<typename SmaccClientType > | |
| void | requiresClient (SmaccClientType *&storage) |
| void | getComponents (std::vector< std::shared_ptr< ISmaccComponent > > &components) |
| const std::vector< std::shared_ptr< ISmaccComponent > > & | iterateComponents () const |
| template<typename EventType > | |
| void | postEvent (const EventType &ev) |
| template<typename EventType > | |
| void | postEvent () |
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 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_ |
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.
| 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 54 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().