SMACC2
|
Namespaces | |
namespace | client_bases |
namespace | client_behaviors |
namespace | components |
namespace | default_events |
namespace | default_transition_tags |
namespace | event_generators |
namespace | introspection |
namespace | state_reactors |
namespace | utils |
Classes | |
struct | AddTEventTypeStateReactor |
struct | AddTEventTypeStateReactorInfo |
class | CallbackCounterSemaphore |
class | CbServiceServerCallbackBase |
class | ClientHandler |
struct | ComponentKey |
struct | EvCbFailure |
struct | EvCbFinished |
struct | EvCbSuccess |
class | HasSpecificNamedOnExit |
class | HasStandardOnExit |
class | ISmaccClient |
class | ISmaccClientBehavior |
class | ISmaccComponent |
class | ISmaccOrthogonal |
class | ISmaccState |
class | ISmaccStateMachine |
class | ISmaccUpdatable |
class | Orthogonal |
class | SignalDetector |
class | SmaccAsyncClientBehavior |
class | SmaccClientBehavior |
class | SmaccEventGenerator |
class | SmaccSignal |
class | SmaccState |
struct | SmaccStateMachineBase |
State Machine. More... | |
struct | SmExecution |
class | StateReactor |
class | Transition |
Typedefs | |
template<class T > | |
using | deep_history = sc::deep_history< T > |
Enumerations | |
enum class | SMRunMode { DEBUG , RELEASE } |
enum class | ExecutionModel { SINGLE_THREAD_SPINNER , MULTI_THREAD_SPINNER } |
enum class | EventLifeTime { ABSOLUTE , CURRENT_STATE } |
enum class | StateMachineInternalAction { STATE_CONFIGURING , STATE_ENTERING , STATE_RUNNING , STATE_EXITING , TRANSITIONING } |
Functions | |
template<typename TState , typename TTransitionTagName > | |
void | specificNamedOnExit (TState &st, TTransitionTagName tn, std::true_type) |
template<typename TState , typename TTransitionTagName > | |
void | specificNamedOnExit (TState &, TTransitionTagName, std::false_type) |
template<typename TState , typename TTransitionTagName > | |
void | specificNamedOnExit (TState &m, TTransitionTagName tn) |
template<typename TState > | |
void | standardOnExit (TState &st, std::true_type) |
template<typename TState > | |
void | standardOnExit (TState &, std::false_type) |
template<typename TState > | |
void | standardOnExit (TState &m) |
void | onSigQuit (int sig) |
template<typename StateMachineType > | |
void | run (ExecutionModel executionModel=ExecutionModel::SINGLE_THREAD_SPINNER) |
template<typename StateMachineType > | |
SmExecution * | run_async () |
using smacc2::deep_history = typedef sc::deep_history<T> |
Definition at line 53 of file common.hpp.
|
strong |
Enumerator | |
---|---|
ABSOLUTE | |
CURRENT_STATE |
Definition at line 46 of file smacc_state_machine.hpp.
|
strong |
Enumerator | |
---|---|
SINGLE_THREAD_SPINNER | |
MULTI_THREAD_SPINNER |
Definition at line 29 of file smacc_signal_detector.hpp.
|
strong |
Enumerator | |
---|---|
DEBUG | |
RELEASE |
Definition at line 67 of file common.hpp.
|
strong |
Enumerator | |
---|---|
STATE_CONFIGURING | |
STATE_ENTERING | |
STATE_RUNNING | |
STATE_EXITING | |
TRANSITIONING |
Definition at line 52 of file smacc_state_machine.hpp.
void smacc2::onSigQuit | ( | int | sig | ) |
Definition at line 370 of file signal_detector.cpp.
Referenced by run(), and run_async().
void smacc2::run | ( | ExecutionModel | executionModel = ExecutionModel::SINGLE_THREAD_SPINNER | ) |
Definition at line 114 of file smacc_signal_detector.hpp.
References onSigQuit(), smacc2::SignalDetector::pollingLoop(), and smacc2::SignalDetector::setProcessorHandle().
SmExecution * smacc2::run_async | ( | ) |
Definition at line 150 of file smacc_signal_detector.hpp.
References onSigQuit(), smacc2::SignalDetector::pollingLoop(), smacc2::SmExecution::scheduler1, smacc2::SmExecution::schedulerThread, smacc2::SignalDetector::setProcessorHandle(), smacc2::SmExecution::signalDetector, smacc2::SmExecution::signalDetectorLoop, and smacc2::SmExecution::sm.
void smacc2::specificNamedOnExit | ( | TState & | , |
TTransitionTagName | , | ||
std::false_type | |||
) |
Definition at line 50 of file state_traits.hpp.
void smacc2::specificNamedOnExit | ( | TState & | m, |
TTransitionTagName | tn | ||
) |
Definition at line 55 of file state_traits.hpp.
References specificNamedOnExit().
void smacc2::specificNamedOnExit | ( | TState & | st, |
TTransitionTagName | tn, | ||
std::true_type | |||
) |
Definition at line 44 of file state_traits.hpp.
Referenced by smacc2::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction >::reactions< State >::react_with_action(), smacc2::Transition< Event, Destination, Tag, TransitionContext, pTransitionAction >::reactions< State >::react_without_action(), and specificNamedOnExit().
void smacc2::standardOnExit | ( | TState & | , |
std::false_type | |||
) |
Definition at line 89 of file state_traits.hpp.
void smacc2::standardOnExit | ( | TState & | m | ) |
Definition at line 94 of file state_traits.hpp.
References standardOnExit().
void smacc2::standardOnExit | ( | TState & | st, |
std::true_type | |||
) |
Definition at line 83 of file state_traits.hpp.
Referenced by smacc2::SmaccState< MostDerived, Context, InnerInitial, historyMode >::exit(), and standardOnExit().