SMACC2
|
#include <smacc_action_client.hpp>
Public Member Functions | |
ISmaccActionClient () | |
virtual | ~ISmaccActionClient () |
std::string | getNamespace () const |
virtual bool | cancelGoal ()=0 |
virtual std::shared_ptr< rclcpp_action::ClientBase > | getClientBase ()=0 |
virtual std::string | getName () const |
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 () |
Protected Attributes | |
std::string | name_ |
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 34 of file smacc_action_client.hpp.
smacc2::client_bases::ISmaccActionClient::ISmaccActionClient | ( | ) |
Definition at line 26 of file smacc_action_client.cpp.
|
virtual |
Definition at line 28 of file smacc_action_client.cpp.
|
pure virtual |
|
pure virtual |
Implemented in smacc2::client_bases::SmaccActionClientBase< ActionType >, and smacc2::client_bases::SmaccActionClientBase< nav2_msgs::action::NavigateToPose >.
Referenced by smacc2::client_behaviors::CbWaitActionServer::onEntry().
|
inlinevirtual |
Reimplemented from smacc2::ISmaccClient.
Definition at line 50 of file smacc_action_client.hpp.
References name_.
Referenced by smacc2::client_bases::SmaccActionClientBase< ActionType >::onResult(), cl_nav2z::CostmapSwitch::registerProxyFromDynamicReconfigureServer(), and smacc2::client_bases::SmaccActionClientBase< ActionType >::sendGoal().
|
inline |
|
protected |
Definition at line 54 of file smacc_action_client.hpp.
Referenced by getName(), getNamespace(), smacc2::client_bases::SmaccActionClientBase< ActionType >::onInitialize(), and smacc2::client_bases::SmaccActionClientBase< ActionType >::SmaccActionClientBase().