|
SMACC
|
#include <sr_all_events_go.h>


Public Member Functions | |
| SrAllEventsGo () | |
| virtual void | onInitialized () override |
| virtual void | onEventNotified (const std::type_info *eventType) override |
| virtual bool | triggers () override |
Public Member Functions inherited from smacc::StateReactor | |
| StateReactor () | |
| virtual void | onInitialized () |
| virtual void | onEntry () |
| virtual void | onExit () |
| virtual void | onEventNotified (const std::type_info *eventType) |
| template<typename EventType > | |
| void | postEvent (const EventType &ev) |
| template<typename EventType > | |
| void | postEvent () |
| template<typename T , typename TClass > | |
| void | createEventCallback (void(TClass::*callback)(T *), TClass *object) |
| template<typename T > | |
| void | createEventCallback (std::function< void(T *)> callback) |
| void | update () |
| virtual bool | triggers ()=0 |
| template<typename TEv > | |
| void | addInputEvent () |
| template<typename TEv > | |
| void | setOutputEvent () |
| void | initialize (ISmaccState *ownerState) |
Private Attributes | |
| std::map< const std::type_info *, bool > | triggeredEvents |
Additional Inherited Members | |
Public Attributes inherited from smacc::StateReactor | |
| ISmaccState * | ownerState |
| std::function< void()> | postEventFn |
| std::vector< const std::type_info * > | eventTypes |
| std::map< const std::type_info *, std::function< void(void *)> > | eventCallbacks_ |
Definition at line 18 of file sr_all_events_go.h.
|
inline |
Definition at line 23 of file sr_all_events_go.h.
|
overridevirtual |
Reimplemented from smacc::StateReactor.
Definition at line 19 of file sr_all_events_go.cpp.
References smacc::introspection::demangleSymbol(), and triggeredEvents.

|
overridevirtual |
Reimplemented from smacc::StateReactor.
Definition at line 11 of file sr_all_events_go.cpp.
References smacc::StateReactor::eventTypes, and triggeredEvents.
|
overridevirtual |
Implements smacc::StateReactor.
Definition at line 30 of file sr_all_events_go.cpp.
References triggeredEvents.
|
private |
Definition at line 20 of file sr_all_events_go.h.
Referenced by onEventNotified(), onInitialized(), and triggers().