SMACC2
|
#include <cl_led.hpp>
Public Member Functions | |
ClLED (std::string actionServerName) | |
virtual std::string | getName () const override |
virtual | ~ClLED () |
Public Member Functions inherited from smacc2::client_bases::SmaccActionClientBase< sm_dance_bot_warehouse_2::action::LEDControl > | |
SmaccActionClientBase (std::string actionServerName) | |
SmaccActionClientBase () | |
virtual | ~SmaccActionClientBase () |
virtual std::shared_ptr< rclcpp_action::ClientBase > | getClientBase () override |
void | onInitialize () override |
void | postResultEvent (WrappedResult &) |
void | onOrthogonalAllocation () |
boost::signals2::connection | onSucceeded (void(T::*callback)(WrappedResult &), T *object) |
boost::signals2::connection | onSucceeded (std::function< void(WrappedResult &)> callback) |
boost::signals2::connection | onAborted (void(T::*callback)(WrappedResult &), T *object) |
boost::signals2::connection | onAborted (std::function< void(WrappedResult &)> callback) |
boost::signals2::connection | onCancelled (void(T::*callback)(WrappedResult &), T *object) |
boost::signals2::connection | onCancelled (std::function< void(WrappedResult &)> callback) |
virtual bool | cancelGoal () override |
std::shared_future< typename GoalHandle::SharedPtr > | sendGoal (Goal &goal) |
Public Member Functions inherited from smacc2::client_bases::ISmaccActionClient | |
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) |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
Additional Inherited Members | |
Public Types inherited from smacc2::client_bases::SmaccActionClientBase< sm_dance_bot_warehouse_2::action::LEDControl > | |
typedef rclcpp_action::Client< sm_dance_bot_warehouse_2::action::LEDControl > | ActionClient |
using | Goal = typename ActionClient::Goal |
using | Feedback = typename ActionClient::Feedback |
using | GoalHandle = rclcpp_action::ClientGoalHandle< sm_dance_bot_warehouse_2::action::LEDControl > |
typedef GoalHandle::WrappedResult | WrappedResult |
using | SendGoalOptions = typename ActionClient::SendGoalOptions |
using | GoalResponseCallback = std::function< void(std::shared_future< typename GoalHandle::SharedPtr >)> |
using | FeedbackCallback = typename GoalHandle::FeedbackCallback |
using | ResultCallback = typename GoalHandle::ResultCallback |
using | CancelRequest = typename ActionType::Impl::CancelGoalService::Request |
using | CancelResponse = typename ActionType::Impl::CancelGoalService::Response |
using | CancelCallback = std::function< void(typename CancelResponse::SharedPtr)> |
Static Public Member Functions inherited from smacc2::client_bases::SmaccActionClientBase< sm_dance_bot_warehouse_2::action::LEDControl > | |
static std::string | getEventLabel () |
Public Attributes inherited from smacc2::client_bases::SmaccActionClientBase< sm_dance_bot_warehouse_2::action::LEDControl > | |
std::string | action_endpoint_ |
std::optional< std::shared_future< typename GoalHandle::SharedPtr > > | lastRequest_ |
GoalHandle::SharedPtr | goalHandle_ |
smacc2::SmaccSignal< void(const WrappedResult &)> | onSucceeded_ |
smacc2::SmaccSignal< void(const WrappedResult &)> | onAborted_ |
smacc2::SmaccSignal< void(const WrappedResult &)> | onCancelled_ |
std::function< void(WrappedResult)> | postSuccessEvent |
std::function< void(WrappedResult)> | postAbortedEvent |
std::function< void(WrappedResult)> | postCancelledEvent |
std::function< void(const Feedback &)> | postFeedbackEvent |
ResultCallback | done_cb |
FeedbackCallback | feedback_cb |
Protected Member Functions inherited from smacc2::client_bases::SmaccActionClientBase< sm_dance_bot_warehouse_2::action::LEDControl > | |
void | onFeedback (typename GoalHandle::SharedPtr, const std::shared_ptr< const Feedback > feedback_msg) |
void | onResult (const WrappedResult &result_msg) |
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 () |
Protected Attributes inherited from smacc2::client_bases::SmaccActionClientBase< sm_dance_bot_warehouse_2::action::LEDControl > | |
ActionClient::SharedPtr | client_ |
Protected Attributes inherited from smacc2::client_bases::ISmaccActionClient | |
std::string | name_ |
Protected Attributes inherited from smacc2::ISmaccClient | |
std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > | components_ |
Definition at line 30 of file cl_led.hpp.
sm_dance_bot_warehouse_2::cl_led::ClLED::ClLED | ( | std::string | actionServerName | ) |
Definition at line 27 of file cl_led.cpp.
|
virtual |
Definition at line 34 of file cl_led.cpp.
|
overridevirtual |
Reimplemented from smacc2::client_bases::ISmaccActionClient.
Definition at line 32 of file cl_led.cpp.