SMACC2
|
#include <cl_keyboard.hpp>
Public Attributes | |
smacc2::SmaccSignal< void(char keypress)> | OnKeyPress_ |
std::function< void(std_msgs::msg::UInt16)> | postEventKeyPress |
Public Attributes inherited from smacc2::client_bases::SmaccSubscriberClient< std_msgs::msg::UInt16 > | |
std::optional< std::string > | topicName |
std::optional< int > | queueSize |
smacc2::SmaccSignal< void(const std_msgs::msg::UInt16 &)> | onFirstMessageReceived_ |
smacc2::SmaccSignal< void(const std_msgs::msg::UInt16 &)> | onMessageReceived_ |
std::function< void(const std_msgs::msg::UInt16 &)> | postMessageEvent |
std::function< void(const std_msgs::msg::UInt16 &)> | postInitialMessageEvent |
Private Attributes | |
bool | initialized_ |
Additional Inherited Members | |
Public Types inherited from smacc2::client_bases::SmaccSubscriberClient< std_msgs::msg::UInt16 > | |
typedef std_msgs::msg::UInt16 | TMessageType |
Protected Member Functions inherited from smacc2::client_bases::SmaccSubscriberClient< std_msgs::msg::UInt16 > | |
void | onInitialize () override |
Protected Member Functions inherited from smacc2::ISmaccClient | |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createComponent (TArgs... targs) |
template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
SmaccComponentType * | createNamedComponent (std::string name, TArgs... targs) |
rclcpp::Node::SharedPtr | getNode () |
rclcpp::Logger | getLogger () |
Protected Attributes inherited from smacc2::ISmaccClient | |
std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > | components_ |
Definition at line 162 of file cl_keyboard.hpp.
cl_keyboard::ClKeyboard::ClKeyboard | ( | ) |
Definition at line 25 of file cl_keyboard.cpp.
References initialized_, and smacc2::client_bases::SmaccSubscriberClient< std_msgs::msg::UInt16 >::topicName.
|
virtual |
Definition at line 31 of file cl_keyboard.cpp.
|
overridevirtual |
Reimplemented from smacc2::ISmaccClient.
Definition at line 33 of file cl_keyboard.cpp.
References initialized_, onKeyboardMessage(), and smacc2::client_bases::SmaccSubscriberClient< std_msgs::msg::UInt16 >::onMessageReceived().
void cl_keyboard::ClKeyboard::onKeyboardMessage | ( | const std_msgs::msg::UInt16 & | unicode_keychar | ) |
Definition at line 44 of file cl_keyboard.cpp.
References postEventKeyPress.
Referenced by onInitialize().
|
inline |
Definition at line 172 of file cl_keyboard.hpp.
References smacc2::ISmaccStateMachine::createSignalConnection(), and smacc2::ISmaccClient::getStateMachine().
Referenced by cl_keyboard::CbDefaultKeyboardBehavior::onEntry().
|
inline |
Definition at line 181 of file cl_keyboard.hpp.
References smacc2::ISmaccClient::getLogger(), OnKeyPress_, and postEventKeyPress.
|
inline |
Definition at line 251 of file cl_keyboard.hpp.
References smacc2::introspection::demangleSymbol(), and smacc2::ISmaccClient::getLogger().
|
private |
Definition at line 259 of file cl_keyboard.hpp.
Referenced by ClKeyboard(), and onInitialize().
smacc2::SmaccSignal<void(char keypress)> cl_keyboard::ClKeyboard::OnKeyPress_ |
Definition at line 169 of file cl_keyboard.hpp.
Referenced by onOrthogonalAllocation().
std::function<void(std_msgs::msg::UInt16)> cl_keyboard::ClKeyboard::postEventKeyPress |
Definition at line 178 of file cl_keyboard.hpp.
Referenced by onKeyboardMessage(), and onOrthogonalAllocation().