|
sttcl
v0.9c
STTCL C++ template state machine framework
|
#include <ActiveState.h>
Static Public Member Functions | |
| template<class StateImpl , class StateMachineImpl , class IState , class StateThreadType , class TimeDurationType , class EndDoActionSemaphoreType , class ActiveStateMutexType > | |
| static void * | stateThreadMethod (void *args) |
Helper class to call a state thread method.
|
inlinestatic |
Defines a static method that can be passed to a thread implementation.
| StateImpl | The sttcl::ActiveState<> implementation class. |
| StateMachineImpl | The sttcl::StateMachine<> implementation class that contains the sttcl::ActiveState<> implementation. |
| IState | The inner event handler interface of the sttcl::StateMachine<> implementation |
| StateThreadType | The thread implementation class, default is sttcl::internal::SttclThread<>. |
| EndDoActionSemaphoreType | The semaphore implementation class, default is sttcl::internal::SttclSemaphore<>. |
| TimeDurationType | The time duration representation implementation class, default is sttcl::TimeDuration<>. |
| ActiveStateMutexType | The mutex implementation class, default is sttcl::internal::SttclMutex<>. |
| args | A pointer to the thread args. Implicitely args is casted to sttcl::ActiveState and the sttcl::ActiveState::doAction method is called. |