20#include <std_msgs/msg/u_int16.hpp>
32 template <
typename TOrthogonal,
typename TSourceObject>
37 postKeyEvent<EvKeyPressA<CbDefaultKeyboardBehavior, TOrthogonal>>();
38 else if (character ==
'b')
39 postKeyEvent<EvKeyPressB<CbDefaultKeyboardBehavior, TOrthogonal>>();
40 else if (character ==
'c')
41 postKeyEvent<EvKeyPressC<CbDefaultKeyboardBehavior, TOrthogonal>>();
42 else if (character ==
'd')
43 postKeyEvent<EvKeyPressD<CbDefaultKeyboardBehavior, TOrthogonal>>();
44 else if (character ==
'e')
45 postKeyEvent<EvKeyPressE<CbDefaultKeyboardBehavior, TOrthogonal>>();
46 else if (character ==
'f')
47 postKeyEvent<EvKeyPressF<CbDefaultKeyboardBehavior, TOrthogonal>>();
48 else if (character ==
'g')
49 postKeyEvent<EvKeyPressG<CbDefaultKeyboardBehavior, TOrthogonal>>();
50 else if (character ==
'h')
51 postKeyEvent<EvKeyPressH<CbDefaultKeyboardBehavior, TOrthogonal>>();
52 else if (character ==
'y')
53 postKeyEvent<EvKeyPressI<CbDefaultKeyboardBehavior, TOrthogonal>>();
54 else if (character ==
'j')
55 postKeyEvent<EvKeyPressJ<CbDefaultKeyboardBehavior, TOrthogonal>>();
56 else if (character ==
'k')
57 postKeyEvent<EvKeyPressK<CbDefaultKeyboardBehavior, TOrthogonal>>();
58 else if (character ==
'l')
59 postKeyEvent<EvKeyPressL<CbDefaultKeyboardBehavior, TOrthogonal>>();
60 else if (character ==
'm')
61 postKeyEvent<EvKeyPressM<CbDefaultKeyboardBehavior, TOrthogonal>>();
62 else if (character ==
'n')
63 postKeyEvent<EvKeyPressN<CbDefaultKeyboardBehavior, TOrthogonal>>();
64 else if (character ==
'o')
65 postKeyEvent<EvKeyPressO<CbDefaultKeyboardBehavior, TOrthogonal>>();
66 else if (character ==
'p')
67 postKeyEvent<EvKeyPressP<CbDefaultKeyboardBehavior, TOrthogonal>>();
68 else if (character ==
'q')
69 postKeyEvent<EvKeyPressQ<CbDefaultKeyboardBehavior, TOrthogonal>>();
70 else if (character ==
'r')
71 postKeyEvent<EvKeyPressR<CbDefaultKeyboardBehavior, TOrthogonal>>();
72 else if (character ==
's')
73 postKeyEvent<EvKeyPressS<CbDefaultKeyboardBehavior, TOrthogonal>>();
74 else if (character ==
't')
75 postKeyEvent<EvKeyPressT<CbDefaultKeyboardBehavior, TOrthogonal>>();
76 else if (character ==
'u')
77 postKeyEvent<EvKeyPressU<CbDefaultKeyboardBehavior, TOrthogonal>>();
78 else if (character ==
'v')
79 postKeyEvent<EvKeyPressV<CbDefaultKeyboardBehavior, TOrthogonal>>();
80 else if (character ==
'w')
81 postKeyEvent<EvKeyPressW<CbDefaultKeyboardBehavior, TOrthogonal>>();
82 else if (character ==
'x')
83 postKeyEvent<EvKeyPressX<CbDefaultKeyboardBehavior, TOrthogonal>>();
84 else if (character ==
'y')
85 postKeyEvent<EvKeyPressY<CbDefaultKeyboardBehavior, TOrthogonal>>();
86 else if (character ==
'z')
87 postKeyEvent<EvKeyPressZ<CbDefaultKeyboardBehavior, TOrthogonal>>();
93 template <
typename TEv>
97 getLogger(),
"CbDefaultKeyboardBehavior %ld ev: %s", (
long)(
void *)
this,
99 auto event =
new TEv();
void OnKeyPress(char character)
std::function< void(char)> postEventKeyPress
void onOrthogonalAllocation()
virtual rclcpp::Logger getLogger()
std::string demangleSymbol(const std::string &name)