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 () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onStateOrthogonalAllocation () |
void | OnKeyPress (char character) |
template<typename TEv > | |
void | postKeyEvent () |
![]() | |
virtual | ~SmaccClientBehavior () |
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) |
template<typename SmaccComponentType > | |
void | requiresComponent (SmaccComponentType *&storage, ComponentRequirement requirementType=ComponentRequirement::SOFT) |
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.
|
inlinevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 32 of file cb_default_keyboard_behavior.hpp.
References OnKeyPress(), cl_keyboard::components::CpKeyboardListener1::OnKeyPress(), and smacc2::ISmaccClientBehavior::requiresComponent().
|
inlinevirtual |
Reimplemented from smacc2::ISmaccClientBehavior.
Definition at line 32 of file cb_default_keyboard_behavior.hpp.
References OnKeyPress(), cl_keyboard::components::CpKeyboardListener1::OnKeyPress(), and smacc2::ISmaccClientBehavior::requiresComponent().
|
inline |
Definition at line 98 of file cb_default_keyboard_behavior.hpp.
References postEventKeyPress.
Referenced by onEntry().
|
inline |
Definition at line 98 of file cb_default_keyboard_behavior.hpp.
References postEventKeyPress.
|
inline |
Definition at line 39 of file cb_default_keyboard_behavior.hpp.
References postEventKeyPress, and postKeyEvent().
|
inline |
Definition at line 39 of file cb_default_keyboard_behavior.hpp.
References postEventKeyPress, and postKeyEvent().
|
inline |
Definition at line 101 of file cb_default_keyboard_behavior.hpp.
References smacc2::introspection::demangleSymbol(), smacc2::ISmaccClientBehavior::getLogger(), and smacc2::ISmaccClientBehavior::postEvent().
Referenced by onStateOrthogonalAllocation().
|
inline |
Definition at line 101 of file cb_default_keyboard_behavior.hpp.
References smacc2::introspection::demangleSymbol(), smacc2::ISmaccClientBehavior::getLogger(), and smacc2::ISmaccClientBehavior::postEvent().
components::CpKeyboardListener1 * cl_keyboard::CbDefaultKeyboardBehavior::cpSubscriber1 |
Definition at line 29 of file cb_default_keyboard_behavior.hpp.
std::function< void(char)> cl_keyboard::CbDefaultKeyboardBehavior::postEventKeyPress |
Definition at line 30 of file cb_default_keyboard_behavior.hpp.
Referenced by OnKeyPress(), and onStateOrthogonalAllocation().