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

ztt::dcs::ControlFero Class Reference

#include <ControlFero.hpp>

Inheritance diagram for ztt::dcs::ControlFero:

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

Detailed Description

the controlfero class represent the ControlFero command channel this channel is used to send single configuration packages to one or more server.

Date:
03.02.06
Author:
Benjamin Schockert


Public Member Functions

 ControlFero (char *name, DimCommandHandler *handler)
virtual bool handleCommand ()
virtual bool setAnswerData (const int &ID)
bool isBusy ()

Static Public Member Functions

void * watchDog (void *objectHandler)


Constructor & Destructor Documentation

ztt::dcs::ControlFero::ControlFero char *  name,
DimCommandHandler *  handler
[inline]
 

the constructor of controlfero initialze required values and create the command channel.


Member Function Documentation

virtual bool ztt::dcs::ControlFero::handleCommand  )  [virtual]
 

the commandHandler method handle incomming commands and send the processed data further to the feeserver.

Implements ztt::dcs::FedCommand.

bool ztt::dcs::ControlFero::isBusy  )  [inline]
 

the isBusy method is needed to check from the FeeAckInfo object that an channel wait for an answer or not.

virtual bool ztt::dcs::ControlFero::setAnswerData const int &  ID  )  [virtual]
 

the setAnswerData method stops the watchdog thread when the right conditions where given.

Implements ztt::dcs::FedCommand.

void* ztt::dcs::ControlFero::watchDog void *  objectHandler  )  [static]
 

the watchdog thread take care that the main thread will not hang if an answer didnīt come in time.


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