FACT++  1.0
DimState Class Reference

#include <DimState.h>

+ Inheritance diagram for DimState:
+ Collaboration diagram for DimState:

Public Types

enum  { kOffline = -256, kNotAvailable = -257 }
 

Public Member Functions

 DimState ()
 
 DimState (const std::string &n, const std::string s="STATE")
 
virtual ~DimState ()
 
virtual void Subscribe (StateMachineImp &imp)
 
void SetCallback (const callback &cb)
 
const Timetime () const
 
const int32_t & state () const
 
bool online () const
 
virtual State description () const
 

Public Attributes

std::string server
 
std::string service
 
std::pair< Time, int32_t > last
 
std::pair< Time, int32_t > cur
 
std::string msg
 

Protected Types

typedef std::function< int(const EventImp &)> callback
 

Protected Member Functions

void HandlerImp (const EventImp &evt)
 
int Callback (const EventImp &evt)
 
virtual int Handler (const EventImp &evt)
 

Protected Attributes

callback fCallback
 

Detailed Description

Definition at line 15 of file DimState.h.


The documentation for this class was generated from the following file: