FACT++  1.0
StateClient Class Reference

A simple Dim client diriving from MessageDimRX subscribing to the STATE service. More...

#include <DimNetwork.h>

+ Inheritance diagram for StateClient:
+ Collaboration diagram for StateClient:

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
DimInfogetInfo ()
 
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
DimInfoitsService
 
- Protected Attributes inherited from MessageDimRX
MessageImpfMsg
 

Detailed Description

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.


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