SMACC
|
#include <smacc_event_generator.h>
Public Member Functions | |
SmaccEventGenerator () | |
virtual | ~SmaccEventGenerator () |
template<typename TState , typename TSource > | |
void | onStateAllocation () |
virtual void | onEntry () |
virtual void | onExit () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
void | initialize (ISmaccState *ownerState) |
virtual void | onInitialized () |
Private Attributes | |
ISmaccState * | ownerState_ |
friend | ISmaccStateMachine |
Definition at line 22 of file smacc_event_generator.h.
smacc::SmaccEventGenerator::SmaccEventGenerator | ( | ) |
Definition at line 12 of file smacc_event_generator.cpp.
|
virtual |
Definition at line 16 of file smacc_event_generator.cpp.
void smacc::SmaccEventGenerator::initialize | ( | smacc::ISmaccState * | ownerState | ) |
Definition at line 28 of file smacc_event_generator.cpp.
References onInitialized(), and ownerState_.
|
virtual |
Reimplemented in smacc::event_generators::EgConditionalGenerator, and smacc::state_reactors::EgRandomGenerator.
Definition at line 20 of file smacc_event_generator.cpp.
|
virtual |
Definition at line 24 of file smacc_event_generator.cpp.
|
virtual |
Definition at line 34 of file smacc_event_generator.cpp.
Referenced by initialize().
void smacc::SmaccEventGenerator::onStateAllocation |
Definition at line 26 of file smacc_event_generator_impl.h.
void smacc::SmaccEventGenerator::postEvent |
Definition at line 20 of file smacc_event_generator_impl.h.
References ownerState_, and smacc::ISmaccState::postEvent().
void smacc::SmaccEventGenerator::postEvent | ( | const EventType & | ev | ) |
Definition at line 14 of file smacc_event_generator_impl.h.
References ownerState_, and smacc::ISmaccState::postEvent().
|
private |
Definition at line 45 of file smacc_event_generator.h.
|
private |
Definition at line 44 of file smacc_event_generator.h.
Referenced by initialize(), and postEvent().