28template <
typename EventType>
35 "The client behavior cannot post events before being assigned to an orthogonal. Ignoring "
44template <
typename EventType>
51 "The client behavior cannot post events before being assigned to an orthogonal. Ignoring "
66template <
typename SmaccClientType>
72template <
typename SmaccComponentType>
79 "Cannot use the requiresComponent funcionality before assigning the client behavior to an "
80 "orthogonal. Try using the OnEntry method to capture required components.");
88template <
typename TOrthogonal,
typename TSourceObject>
smacc2::ISmaccOrthogonal * currentOrthogonal
ISmaccState * getCurrentState()
ISmaccStateMachine * stateMachine_
virtual rclcpp::Logger getLogger()
void onOrthogonalAllocation()
ISmaccState * currentState
void requiresClient(SmaccClientType *&storage)
void requiresComponent(SmaccComponentType *&storage)
ISmaccStateMachine * getStateMachine()
bool requiresClient(SmaccClientType *&storage)
void requiresComponent(SmaccComponentType *&storage)
void postEvent(EventType *ev, EventLifeTime evlifetime=EventLifeTime::ABSOLUTE)