Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

dcs::fee::FeeMsgInfo Class Reference

#include <FeeMsgInfo.hpp>

Inheritance diagram for dcs::fee::FeeMsgInfo:

dcs::fee::FeeInfo DimInfo

Detailed Description

Class, to subscribe and get access to the FEE - MSG - service.

It inheritates from FeeInfo to get the DimInfo features, and to enable a polymorph access to the service data. Create objects of FeeAckInfo to get a connection to a given FEE - MSG - service.

See also:
FeeInfo for more details
Author:
Christian Kofler, Sebastian Bablok
Date:
2004-04-05 (changed for LIB 2005-10-05)


Public Member Functions

 FeeMsgInfo (char *name, void *noLink, DimInfoHandler *pHandler, char *serverName)
virtual ~FeeMsgInfo ()
virtual bool retrieveServiceValue ()
virtual void initialize ()

Private Attributes

MessageStructmpFeeMessage
char * mpServerName


Constructor & Destructor Documentation

dcs::fee::FeeMsgInfo::FeeMsgInfo char *  name,
void *  noLink,
DimInfoHandler *  pHandler,
char *  serverName
[inline]
 

Constructor for the FeeMsgInfo.

This constructor calls implictly the FeeInfo - constructor and with that the DimInfo constructor, so you subsrcibe to the inserted FEE - MSG- Service (name).

Parameters:
name name of the service, to subscribe to
noLink pointer to value to be shown, when no connection to this service is available
pHandler pointer to the DimInfoHandler
serverName the name of the corresponding FeeServer

FeeMsgInfo::~FeeMsgInfo  )  [virtual]
 

Destructor for the FeeMsgInfo object.


Member Function Documentation

void FeeMsgInfo::initialize  )  [virtual]
 

Function to set the initial state of the link for the MSG - Service.

This should be called to determine, if the link is currently available and should be called once after constructing this object.

Implements dcs::fee::FeeInfo.

bool FeeMsgInfo::retrieveServiceValue  )  [virtual]
 

Function, to be executed when new data from the FEE - MSG - Service is available.

It retrieves the data of the FeeServer from the DIM framework. It stores the value in the object itself.

Returns:
true, if service is available, false in case of "no link"

Implements dcs::fee::FeeInfo.


Field Documentation

MessageStruct* dcs::fee::FeeMsgInfo::mpFeeMessage [private]
 

Stores the current message of a FeeServer in a Message Struct on the FeeClient side.

char* dcs::fee::FeeMsgInfo::mpServerName [private]
 

Here is the name of the corresponding FeeServer stored.


The documentation for this class was generated from the following files:
Generated on Thu Mar 29 19:21:15 2007 for Fee Client Library by doxygen 1.3.5