Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

ztt::dcs::FeeAckInfo Class Reference

#include <FeeAckInfo.hpp>

Inheritance diagram for ztt::dcs::FeeAckInfo:

ztt::dcs::FeeInfo List of all members.

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


Public Member Functions

 FeeAckInfo (char *name, void *noLink, int noLinkSize, DimInfoHandler *pHandler, char *serverName)
virtual ~FeeAckInfo ()
virtual bool retrieveServiceValue ()
virtual void initialize ()
const char * getCorrespondingServerName () const
bool hasLink ()
void setAckChannel (boost::shared_ptr< DimService > service)
void setAckStructure (AckStructure *ackstruct)
void setFedApiChannels (boost::shared_ptr< ConfigureFeeCom > conf, boost::shared_ptr< ControlFero > contfero, boost::shared_ptr< ConfigureFero > conffero)

Public Attributes

int recErrorCode
AckStructure sAckStruct


Constructor & Destructor Documentation

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

Constructor for the FeeAckInfo. This constructor calls implictly the FeeInfo - constructor and with that the DimInfo constructor, so you subsrcibe 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

virtual ztt::dcs::FeeAckInfo::~FeeAckInfo  )  [virtual]
 

Destructor for the FeeAckInfo objects


Member Function Documentation

const char * ztt::dcs::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 ztt::dcs::FeeAckInfo::hasLink  )  [inline]
 

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

Returns:
false if no-link, true otherwise

virtual void ztt::dcs::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 ztt::dcs::FeeInfo.

virtual bool ztt::dcs::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 ztt::dcs::FeeInfo.

void ztt::dcs::FeeAckInfo::setFedApiChannels boost::shared_ptr< ConfigureFeeCom conf,
boost::shared_ptr< ControlFero contfero,
boost::shared_ptr< ConfigureFero conffero
[inline]
 

Points to the several command channel which could wait for an acknowledge


The documentation for this class was generated from the following file:
Generated on Fri Mar 30 02:54:34 2007 for InterComLayer by doxygen 1.3.5