SMACC2
|
#include <cb_default_keyboard_behavior.hpp>
Public Member Functions | |
void | onEntry () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onStateOrthogonalAllocation () |
void | OnKeyPress (char character) |
template<typename TEv > | |
void | postKeyEvent () |
![]() | |
void | onEntry () override |
void | onExit () override |
![]() | |
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 | executeOnEntry () |
virtual void | executeOnExit () |
Public Attributes | |
components::CpKeyboardListener1 * | cpSubscriber1 |
std::function< void(char)> | postEventKeyPress |
Additional Inherited Members | |
![]() | |
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 26 of file cb_default_keyboard_behavior.hpp.
|
virtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 25 of file cb_default_keyboard_behavior.cpp.
References cpSubscriber1, OnKeyPress(), cl_keyboard::components::CpKeyboardListener1::OnKeyPress(), and smacc2::ISmaccClientBehavior::requiresComponent().
void cl_keyboard::CbDefaultKeyboardBehavior::OnKeyPress | ( | char | character | ) |
Definition at line 31 of file cb_default_keyboard_behavior.cpp.
References postEventKeyPress.
Referenced by onEntry().
|
inline |
Definition at line 35 of file cb_default_keyboard_behavior.hpp.
References postEventKeyPress, and postKeyEvent().
|
inline |
Definition at line 97 of file cb_default_keyboard_behavior.hpp.
References smacc2::introspection::demangleSymbol(), smacc2::ISmaccClientBehavior::getLogger(), and smacc2::ISmaccClientBehavior::postEvent().
Referenced by onStateOrthogonalAllocation().
components::CpKeyboardListener1* cl_keyboard::CbDefaultKeyboardBehavior::cpSubscriber1 |
Definition at line 29 of file cb_default_keyboard_behavior.hpp.
Referenced by onEntry().
std::function<void(char)> cl_keyboard::CbDefaultKeyboardBehavior::postEventKeyPress |
Definition at line 30 of file cb_default_keyboard_behavior.hpp.
Referenced by OnKeyPress(), and onStateOrthogonalAllocation().