SMACC2
|
#include <cb_default_keyboard_behavior.hpp>
Public Member Functions | |
void | onEntry () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
void | OnKeyPress (char character) |
template<typename TEv > | |
void | postKeyEvent () |
Public Member Functions inherited from smacc2::SmaccClientBehavior | |
void | onEntry () override |
void | onExit () override |
Public Member Functions inherited from smacc2::ISmaccClientBehavior | |
ISmaccClientBehavior () | |
virtual | ~ISmaccClientBehavior () |
ISmaccStateMachine * | getStateMachine () |
std::string | getName () const |
template<typename SmaccClientType > | |
void | requiresClient (SmaccClientType *&storage) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage, bool throwExceptionIfNotExist=false) |
virtual void | onEntry () |
virtual void | onExit () |
virtual void | executeOnEntry () |
virtual void | executeOnExit () |
Public Attributes | |
ClKeyboard * | ClKeyboard_ |
std::function< void(char)> | postEventKeyPress |
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 () |
ISmaccState * | getCurrentState () |
virtual void | dispose () |
virtual rclcpp::Node::SharedPtr | getNode () const |
virtual rclcpp::Logger | getLogger () const |
Definition at line 24 of file cb_default_keyboard_behavior.hpp.
|
virtual |
Reimplemented from smacc2::SmaccClientBehavior.
Definition at line 19 of file cb_default_keyboard_behavior.cpp.
References ClKeyboard_, OnKeyPress(), cl_keyboard::ClKeyboard::OnKeyPress(), and smacc2::ISmaccClientBehavior::requiresClient().
void cl_keyboard::CbDefaultKeyboardBehavior::OnKeyPress | ( | char | character | ) |
Definition at line 25 of file cb_default_keyboard_behavior.cpp.
References postEventKeyPress.
Referenced by onEntry().
|
inline |
Definition at line 33 of file cb_default_keyboard_behavior.hpp.
References postEventKeyPress.
|
inline |
Definition at line 95 of file cb_default_keyboard_behavior.hpp.
References smacc2::introspection::demangleSymbol(), smacc2::ISmaccClientBehavior::getLogger(), and smacc2::ISmaccClientBehavior::postEvent().
ClKeyboard* cl_keyboard::CbDefaultKeyboardBehavior::ClKeyboard_ |
Definition at line 27 of file cb_default_keyboard_behavior.hpp.
Referenced by onEntry().
std::function<void(char)> cl_keyboard::CbDefaultKeyboardBehavior::postEventKeyPress |
Definition at line 28 of file cb_default_keyboard_behavior.hpp.
Referenced by OnKeyPress(), and onOrthogonalAllocation().