SMACC2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
smacc2::SmaccClientBehavior Class Reference

#include <smacc_client_behavior.hpp>

Inheritance diagram for smacc2::SmaccClientBehavior:
Inheritance graph
Collaboration diagram for smacc2::SmaccClientBehavior:
Collaboration graph

Public Member Functions

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, bool throwExceptionIfNotExist=false)
 
virtual void executeOnEntry ()
 
virtual void executeOnExit ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 26 of file smacc_client_behavior.hpp.

Member Function Documentation

◆ onEntry()

void smacc2::SmaccClientBehavior::onEntry ( )
overridevirtual

Reimplemented from smacc2::ISmaccClientBehavior.

Definition at line 25 of file smacc_client_behavior.cpp.

26{
27 RCLCPP_DEBUG(
28 getLogger(), "[%s] Default empty SmaccClientBehavior onEntry", this->getName().c_str());
29}
virtual rclcpp::Logger getLogger() const

References smacc2::ISmaccClientBehavior::getLogger(), and smacc2::ISmaccClientBehavior::getName().

Here is the call graph for this function:

◆ onExit()

void smacc2::SmaccClientBehavior::onExit ( )
overridevirtual

Reimplemented from smacc2::ISmaccClientBehavior.

Definition at line 31 of file smacc_client_behavior.cpp.

32{
33 RCLCPP_DEBUG(
34 getLogger(), "[%s] Default empty SmaccClientBehavior onExit", this->getName().c_str());
35}

References smacc2::ISmaccClientBehavior::getLogger(), and smacc2::ISmaccClientBehavior::getName().

Here is the call graph for this function:

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