SMACC2
|
#include <smacc_event_generator.hpp>
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 36 of file smacc_event_generator.hpp.
smacc2::SmaccEventGenerator::SmaccEventGenerator | ( | ) |
Definition at line 25 of file smacc_event_generator.cpp.
|
virtual |
Definition at line 27 of file smacc_event_generator.cpp.
void smacc2::SmaccEventGenerator::initialize | ( | smacc2::ISmaccState * | ownerState | ) |
Definition at line 33 of file smacc_event_generator.cpp.
References onInitialized(), and ownerState_.
|
virtual |
Reimplemented in smacc2::event_generators::EgConditionalGenerator, and smacc2::state_reactors::EgRandomGenerator.
Definition at line 29 of file smacc_event_generator.cpp.
|
virtual |
Definition at line 31 of file smacc_event_generator.cpp.
|
virtual |
Definition at line 39 of file smacc_event_generator.cpp.
Referenced by initialize().
void smacc2::SmaccEventGenerator::onStateAllocation | ( | ) |
Definition at line 40 of file smacc_event_generator_impl.hpp.
Definition at line 34 of file smacc_event_generator_impl.hpp.
References ownerState_, and smacc2::ISmaccState::postEvent().
Definition at line 28 of file smacc_event_generator_impl.hpp.
References ownerState_, and smacc2::ISmaccState::postEvent().
|
private |
Definition at line 59 of file smacc_event_generator.hpp.
|
private |
Definition at line 58 of file smacc_event_generator.hpp.
Referenced by initialize(), postEvent(), and postEvent().