FACT++  1.0
DimControl Class Reference

#include <DimState.h>

+ Inheritance diagram for DimControl:
+ Collaboration diagram for DimControl:

Public Member Functions

 DimControl ()
 
void AddCallback (const std::string &script, const callback &cb)
 
State description () const
 
- Public Member Functions inherited from DimState
 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
 

Public Attributes

std::string file
 
std::string shortmsg
 
int scriptdepth
 
- 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 Member Functions

int Handler (const EventImp &evt)
 

Private Attributes

std::map< std::string, callbackfCallbacks
 

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)
 
- Protected Attributes inherited from DimState
callback fCallback
 

Detailed Description

Definition at line 252 of file DimState.h.


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