An ordinary case object scheduled by the CmdFirstState, CmdRunState and CmdState commands.
More...
#include <caseordinary.h>
An ordinary case object scheduled by the CmdFirstState, CmdRunState and CmdState commands.
Definition at line 37 of file caseordinary.h.
◆ CaseOrdinary() [1/2]
◆ CaseOrdinary() [2/2]
OTest2::CaseOrdinary::CaseOrdinary |
( |
const Context & |
context_ | ) |
|
|
explicit |
Ctor.
- Parameters
-
context_ | The otest2 context |
Definition at line 24 of file caseordinary.cpp.
◆ ~CaseOrdinary()
OTest2::CaseOrdinary::~CaseOrdinary |
( |
| ) |
|
|
virtual |
◆ getFirstState()
virtual StatePtr OTest2::CaseOrdinary::getFirstState |
( |
| ) |
const |
|
pure virtual |
Get the initial state.
- Returns
- The state or nullptr if the case doesn't contain any one.
Implemented in OTest2::CaseGenerated.
◆ getState()
virtual StatePtr OTest2::CaseOrdinary::getState |
( |
const std::string & |
name_ | ) |
const |
|
pure virtual |
Get state with specified name_.
- Parameters
-
- Returns
- The state or null pointer
Implemented in OTest2::CaseGenerated.
◆ operator=()
The documentation for this class was generated from the following files: