FACT++
1.0
|
A simple Dim client diriving from MessageDimRX subscribing to the STATE service. More...
#include <DimNetwork.h>
Public Member Functions | |
StateClient (const std::string &name, MessageImp &imp) | |
bool | IsConnected () const |
int | GetState () const |
const char * | GetName () const |
Public Member Functions inherited from MessageDimRX | |
MessageDimRX (const std::string &name, MessageImp &imp) | |
void | SetMinLogLevel (int min=0) |
bool | IsConnected () const |
Public Member Functions inherited from DimInfoHandler | |
DimInfo * | getInfo () |
virtual | ~DimInfoHandler () |
Protected Member Functions | |
void | infoHandler () |
The dim service subscription. More... | |
Protected Member Functions inherited from MessageDimRX | |
void | infoHandler () |
Private Attributes | |
Time | fStateTime |
int | fState |
Combine into one MTime (together with value) More... | |
DimStampedInfo | fInfoState |
-2 not initialized, -1 not connected, 0>= state of client More... | |
Additional Inherited Members | |
Public Attributes inherited from DimInfoHandler | |
DimInfo * | itsService |
Protected Attributes inherited from MessageDimRX | |
MessageImp & | fMsg |
A simple Dim client diriving from MessageDimRX subscribing to the STATE service.
This is a simple dim client which subscribes to the MESSAGE and STATE service of a server. It stores the last state and its time as well as the last message sent.
Definition at line 18 of file DimNetwork.h.