FACT++
1.0
|
#include <DimState.h>
Public Member Functions | |
DimDescriptions (const std::string &n) | |
virtual void | Subscribe (StateMachineImp &imp) |
void | SetCallbackDescriptions (const callback_desc &cb) |
int | HandleServiceDesc (const EventImp &evt) |
Public Member Functions inherited from DimDescribedState | |
DimDescribedState (const std::string &n) | |
void | SetCallbackStates (const callback_desc &cb) |
int | HandleDesc (const EventImp &evt) |
State | description () const |
Public Member Functions inherited from DimState | |
DimState () | |
DimState (const std::string &n, const std::string s="STATE") | |
virtual | ~DimState () |
void | SetCallback (const callback &cb) |
const Time & | time () const |
const int32_t & | state () const |
bool | online () const |
Public Attributes | |
std::vector< std::vector< Description > > | descriptions |
Public Attributes inherited from DimDescribedState | |
std::vector< State > | states |
Public Attributes inherited from DimState | |
std::string | server |
std::string | service |
std::pair< Time, int32_t > | last |
std::pair< Time, int32_t > | cur |
std::string | msg |
Private Types | |
typedef std::function< void()> | callback_desc |
Private Member Functions | |
virtual void | CallbackDescriptions () |
Private Attributes | |
callback_desc | fCallbackDescriptions |
Additional Inherited Members | |
Public Types inherited from DimState | |
enum | { kOffline = -256, kNotAvailable = -257 } |
Protected Types inherited from DimState | |
typedef std::function< int(const EventImp &)> | callback |
Protected Member Functions inherited from DimState | |
void | HandlerImp (const EventImp &evt) |
int | Callback (const EventImp &evt) |
virtual int | Handler (const EventImp &evt) |
Protected Attributes inherited from DimState | |
callback | fCallback |
Definition at line 170 of file DimState.h.