Classes | |
struct | StateAndAction |
Public Member Functions | |
const std::vector < StateAndAction > & | getCallbackLog () const |
void | onDo_STATE_1 (const RTC_Utils::StateHolder< int > &states) |
void | onDo_STATE_2 (const RTC_Utils::StateHolder< int > &states) |
void | onDo_STATE_3 (const RTC_Utils::StateHolder< int > &states) |
void | onDo_STATE_4 (const RTC_Utils::StateHolder< int > &states) |
void | onDo_STATE_5 (const RTC_Utils::StateHolder< int > &states) |
void | onDo_STATE_6 (const RTC_Utils::StateHolder< int > &states) |
void | onEntry_STATE_1 (const RTC_Utils::StateHolder< int > &states) |
void | onEntry_STATE_2 (const RTC_Utils::StateHolder< int > &states) |
void | onEntry_STATE_3 (const RTC_Utils::StateHolder< int > &states) |
void | onEntry_STATE_4 (const RTC_Utils::StateHolder< int > &states) |
void | onEntry_STATE_5 (const RTC_Utils::StateHolder< int > &states) |
void | onEntry_STATE_6 (const RTC_Utils::StateHolder< int > &states) |
void | onExit_STATE_1 (const RTC_Utils::StateHolder< int > &states) |
void | onExit_STATE_2 (const RTC_Utils::StateHolder< int > &states) |
void | onExit_STATE_3 (const RTC_Utils::StateHolder< int > &states) |
void | onExit_STATE_4 (const RTC_Utils::StateHolder< int > &states) |
void | onExit_STATE_5 (const RTC_Utils::StateHolder< int > &states) |
void | onExit_STATE_6 (const RTC_Utils::StateHolder< int > &states) |
void | onPostDo_STATE_1 (const RTC_Utils::StateHolder< int > &states) |
void | onPostDo_STATE_2 (const RTC_Utils::StateHolder< int > &states) |
void | onPostDo_STATE_3 (const RTC_Utils::StateHolder< int > &states) |
void | onPostDo_STATE_4 (const RTC_Utils::StateHolder< int > &states) |
void | onPostDo_STATE_5 (const RTC_Utils::StateHolder< int > &states) |
void | onPostDo_STATE_6 (const RTC_Utils::StateHolder< int > &states) |
void | onPreDo_STATE_1 (const RTC_Utils::StateHolder< int > &states) |
void | onPreDo_STATE_2 (const RTC_Utils::StateHolder< int > &states) |
void | onPreDo_STATE_3 (const RTC_Utils::StateHolder< int > &states) |
void | onPreDo_STATE_4 (const RTC_Utils::StateHolder< int > &states) |
void | onPreDo_STATE_5 (const RTC_Utils::StateHolder< int > &states) |
void | onPreDo_STATE_6 (const RTC_Utils::StateHolder< int > &states) |
StateMachineContext1 () | |
void | work () |
Static Public Attributes | |
static const int | DO = 2 |
static const int | ENTRY = 0 |
static const int | EXIT = 4 |
static const int | POSTDO = 3 |
static const int | PREDO = 1 |
static const int | SIZEOF_ACTION = 5 |
static const int | SIZEOF_STATE = 6 |
static const int | STATE_1 = 0 |
static const int | STATE_2 = 1 |
static const int | STATE_3 = 2 |
static const int | STATE_4 = 3 |
static const int | STATE_5 = 4 |
static const int | STATE_6 = 5 |
Private Member Functions | |
void | logCallback (int state, int action) |
Private Attributes | |
std::vector< StateAndAction > | m_callbackLog |
RTC_Utils::StateMachine< int, StateMachineContext1 > | m_fsm |
Definition at line 64 of file StateMachineTests.cpp.
StateMachineTests::StateMachineContext1::StateMachineContext1 | ( | ) | [inline] |
Definition at line 82 of file StateMachineTests.cpp.
const std::vector<StateAndAction>& StateMachineTests::StateMachineContext1::getCallbackLog | ( | ) | const [inline] |
Definition at line 276 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::logCallback | ( | int | state, |
int | action | ||
) | [inline, private] |
Definition at line 286 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onDo_STATE_1 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 146 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onDo_STATE_2 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 168 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onDo_STATE_3 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 190 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onDo_STATE_4 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 213 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onDo_STATE_5 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 234 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onDo_STATE_6 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 256 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onEntry_STATE_1 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 137 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onEntry_STATE_2 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 159 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onEntry_STATE_3 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 182 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onEntry_STATE_4 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 204 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onEntry_STATE_5 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 226 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onEntry_STATE_6 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 248 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onExit_STATE_1 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 154 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onExit_STATE_2 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 177 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onExit_STATE_3 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 199 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onExit_STATE_4 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 221 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onExit_STATE_5 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 242 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onExit_STATE_6 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 264 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPostDo_STATE_1 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 150 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPostDo_STATE_2 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 173 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPostDo_STATE_3 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 194 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPostDo_STATE_4 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 217 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPostDo_STATE_5 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 238 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPostDo_STATE_6 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 260 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPreDo_STATE_1 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 141 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPreDo_STATE_2 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 163 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPreDo_STATE_3 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 186 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPreDo_STATE_4 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 209 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPreDo_STATE_5 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 230 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::onPreDo_STATE_6 | ( | const RTC_Utils::StateHolder< int > & | states | ) | [inline] |
Definition at line 252 of file StateMachineTests.cpp.
void StateMachineTests::StateMachineContext1::work | ( | ) | [inline] |
Definition at line 129 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::DO = 2 [static] |
Definition at line 77 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::ENTRY = 0 [static] |
Definition at line 75 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::EXIT = 4 [static] |
Definition at line 79 of file StateMachineTests.cpp.
std::vector<StateAndAction> StateMachineTests::StateMachineContext1::m_callbackLog [private] |
Definition at line 283 of file StateMachineTests.cpp.
RTC_Utils::StateMachine<int, StateMachineContext1> StateMachineTests::StateMachineContext1::m_fsm [private] |
Definition at line 282 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::POSTDO = 3 [static] |
Definition at line 78 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::PREDO = 1 [static] |
Definition at line 76 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::SIZEOF_ACTION = 5 [static] |
Definition at line 80 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::SIZEOF_STATE = 6 [static] |
Definition at line 73 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::STATE_1 = 0 [static] |
Definition at line 67 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::STATE_2 = 1 [static] |
Definition at line 68 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::STATE_3 = 2 [static] |
Definition at line 69 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::STATE_4 = 3 [static] |
Definition at line 70 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::STATE_5 = 4 [static] |
Definition at line 71 of file StateMachineTests.cpp.
const int StateMachineTests::StateMachineContext1::STATE_6 = 5 [static] |
Definition at line 72 of file StateMachineTests.cpp.