SMACC2
Public Member Functions | Public Attributes | List of all members
sm_dance_bot::cl_led::CbLEDOff Class Reference

#include <cb_led_off.hpp>

Inheritance diagram for sm_dance_bot::cl_led::CbLEDOff:
Inheritance graph
Collaboration diagram for sm_dance_bot::cl_led::CbLEDOff:
Collaboration graph

Public Member Functions

void onEntry () override
 
void onExit () override
 
void onEntry () override
 
void onExit () override
 
- Public Member Functions inherited from smacc2::ISmaccClientBehavior
 ISmaccClientBehavior ()
 
virtual ~ISmaccClientBehavior ()
 
ISmaccStateMachinegetStateMachine ()
 
std::string getName () const
 
template<typename SmaccClientType >
void requiresClient (SmaccClientType *&storage)
 
template<typename SmaccComponentType >
void requiresComponent (SmaccComponentType *&storage)
 

Public Attributes

cl_led::ClLEDledActionClient_
 

Additional Inherited Members

- Protected Member Functions inherited from smacc2::ISmaccClientBehavior
virtual void runtimeConfigure ()
 
virtual void onEntry ()
 
virtual void onExit ()
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 
ISmaccStategetCurrentState ()
 
virtual void dispose ()
 
virtual rclcpp::Node::SharedPtr getNode ()
 
virtual rclcpp::Logger getLogger ()
 

Detailed Description

Definition at line 30 of file cb_led_off.hpp.

Member Function Documentation

◆ onEntry()

void sm_dance_bot::cl_led::CbLEDOff::onEntry ( )
inlineoverridevirtual

Reimplemented from smacc2::SmaccClientBehavior.

Definition at line 35 of file cb_led_off.hpp.

36 {
38
40 goal.command = cl_led::ClLED::Goal::CMD_OFF;
42 }
cl_led::ClLED * ledActionClient_
Definition: cb_led_off.hpp:33
void requiresClient(SmaccClientType *&storage)
std::shared_future< typename GoalHandle::SharedPtr > sendGoal(Goal &goal)

References ledActionClient_, smacc2::ISmaccClientBehavior::requiresClient(), and smacc2::client_bases::SmaccActionClientBase< ActionType >::sendGoal().

Here is the call graph for this function:

◆ onExit()

void sm_dance_bot::cl_led::CbLEDOff::onExit ( )
inlineoverridevirtual

Reimplemented from smacc2::SmaccClientBehavior.

Definition at line 44 of file cb_led_off.hpp.

45 {
46 //RCLCPP_INFO(getLogger(),"Entering ToolClientBehavior");
47 }

Member Data Documentation

◆ ledActionClient_

cl_led::ClLED* sm_dance_bot::cl_led::CbLEDOff::ledActionClient_

Definition at line 33 of file cb_led_off.hpp.

Referenced by onEntry().


The documentation for this class was generated from the following file: