CCA
|
#include <State.h>
Public Types | |
enum | State { STATE_RESET = 32, STATE_PAUSE = 31, STATE_ACQUIRE = 24, STATE_OFFLLEARN = 23, STATE_ONLLEARN = 22, STATE_EXEC = 21, STATE_LOAD = 12, STATE_PERSIST = 11, STATE_OFF = 0 } |
Possible component states. More... | |
Public Member Functions | |
ComponentState::State | getState () const |
virtual std::string | print () const |
Prints the ComponentState. | |
virtual | ~ComponentState () |
Static Public Member Functions | |
static ComponentStatePtr | PERSISTED () |
static ComponentStatePtr | LOADED () |
static ComponentStatePtr | PAUSED () |
static ComponentStatePtr | STOPPED () |
static ComponentStatePtr | EXECUTION () |
static ComponentStatePtr | ONLINELEARNING () |
static ComponentStatePtr | OFFLINELEARNING () |
static ComponentStatePtr | DATAACQUISITION () |
static ComponentStatePtr | RESET () |
Protected Member Functions | |
ComponentState (ComponentState::State state) | |
Constructor. | |
Protected Attributes | |
ComponentState::State | state |
Detailed Description
Member Enumeration Documentation
Constructor & Destructor Documentation
cca::ComponentState::~ComponentState | ( | ) | [virtual] |
cca::ComponentState::ComponentState | ( | ComponentState::State | state | ) | [protected] |
Member Function Documentation
ComponentStatePtr cca::ComponentState::DATAACQUISITION | ( | ) | [static] |
ComponentStatePtr cca::ComponentState::EXECUTION | ( | ) | [static] |
Definition at line 55 of file State.cpp.
Referenced by cca::ComponentStateConverter::deserialize(), and cca::ComponentStateConverter::serialize().
Definition at line 73 of file State.cpp.
Referenced by cca::operator==().
ComponentStatePtr cca::ComponentState::LOADED | ( | ) | [static] |
Definition at line 39 of file State.cpp.
Referenced by cca::ComponentStateConverter::deserialize(), and cca::ComponentStateConverter::serialize().
ComponentStatePtr cca::ComponentState::OFFLINELEARNING | ( | ) | [static] |
Definition at line 63 of file State.cpp.
Referenced by cca::ComponentStateConverter::deserialize(), and cca::ComponentStateConverter::serialize().
ComponentStatePtr cca::ComponentState::ONLINELEARNING | ( | ) | [static] |
Definition at line 59 of file State.cpp.
Referenced by cca::ComponentStateConverter::deserialize(), and cca::ComponentStateConverter::serialize().
ComponentStatePtr cca::ComponentState::PAUSED | ( | ) | [static] |
Definition at line 43 of file State.cpp.
Referenced by cca::ComponentStateConverter::deserialize(), and cca::ComponentStateConverter::serialize().
ComponentStatePtr cca::ComponentState::PERSISTED | ( | ) | [static] |
Definition at line 35 of file State.cpp.
Referenced by cca::ComponentStateConverter::deserialize(), and cca::ComponentStateConverter::serialize().
std::string cca::ComponentState::print | ( | ) | const [virtual] |
Prints the ComponentState.
- Returns:
- Formatted component information box
Reimplemented from cca::DataTransferObject.
Definition at line 84 of file State.cpp.
References state, STATE_ACQUIRE, STATE_EXEC, STATE_LOAD, STATE_OFF, STATE_OFFLLEARN, STATE_ONLLEARN, STATE_PAUSE, STATE_PERSIST, and STATE_RESET.
ComponentStatePtr cca::ComponentState::RESET | ( | ) | [static] |
Definition at line 47 of file State.cpp.
Referenced by cca::ComponentStateConverter::deserialize(), and cca::ComponentStateConverter::serialize().
ComponentStatePtr cca::ComponentState::STOPPED | ( | ) | [static] |
Definition at line 51 of file State.cpp.
Referenced by cca::ComponentStateConverter::deserialize(), and cca::Component::~Component().
Member Data Documentation
ComponentState::State cca::ComponentState::state [protected] |
The documentation for this class was generated from the following files: