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

dcs::fee::FeeAckInfo Class Reference

#include <FeeAckInfo.hpp>

Inheritance diagram for dcs::fee::FeeAckInfo:

dcs::fee::FeeInfo DimInfo

Detailed Description

Class, to subscribe and get access to the FEE - ACK - 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 - ACK - service.

See also:
FeeInfo for more details
Author:
Christian Kofler, Sebastian Bablok
Date:
2003-08-27 (changed for LIB 2005-10-05 (SB))


Public Member Functions

 FeeAckInfo (char *name, void *noLink, int noLinkSize, DimInfoHandler *pHandler, char *serverName, FeeClientLibInterface *interface)
virtual ~FeeAckInfo ()
virtual bool retrieveServiceValue ()
virtual void initialize ()
const char * getCorrespondingServerName () const
bool hasLink ()

Private Attributes

int ackState
char * mpServerName
FeeClientLibInterfacempInterface


Constructor & Destructor Documentation

dcs::fee::FeeAckInfo::FeeAckInfo char *  name,
void *  noLink,
int  noLinkSize,
DimInfoHandler *  pHandler,
char *  serverName,
FeeClientLibInterface interface
[inline]
 

Constructor for the FeeAckInfo.

This constructor calls implictly the FeeInfo - constructor and with that the DimInfo constructor, so you subscribe to the inserted FEE - ACK- 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
noLinkSize size of the noLink - value
pHandler pointer to the DimInfoHandler
serverName the name of the corresponding FeeServer
interface pointer to the interface to call the handler routine

FeeAckInfo::~FeeAckInfo  )  [virtual]
 

Destructor for the FeeAckInfo objects.


Member Function Documentation

const char * dcs::fee::FeeAckInfo::getCorrespondingServerName  )  const [inline]
 

Gets a pointer to the server name of the corresponding FeeServer for this DimInfo object.

Returns:
the corresponding server name

bool dcs::fee::FeeAckInfo::hasLink  )  [inline]
 

Indicates if the FeeClient has "link" to the server corresponding to this FeeAckInfo object.

Returns:
false if no-link, true otherwise

void FeeAckInfo::initialize  )  [virtual]
 

Function to set the initial state of the link for the ACK-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 FeeAckInfo::retrieveServiceValue  )  [virtual]
 

Function, to be executed when new data from the FEE - ACK - 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

int dcs::fee::FeeAckInfo::ackState [private]
 

Here is the ACK value stored.

FeeClientLibInterface* dcs::fee::FeeAckInfo::mpInterface [private]
 

Pointer to the FeeClientLibInterface to call the handler routine.

char* dcs::fee::FeeAckInfo::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