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

ztt::dcs::ConfigureFero Class Reference

#include <ConfigureFero.hpp>

Inheritance diagram for ztt::dcs::ConfigureFero:

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

Detailed Description

The ConfigureFero class represent the ConfigureFero channel of the FedApi. This class is used to configure the DCS-Boards and the hardware below. The class use a special send method to get via command coder the required data.

Date:
2006-01-30
Author:
Benjamin Schockert


Public Member Functions

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

Static Public Member Functions

void * watchDog (void *objectHandler)


Constructor & Destructor Documentation

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

the ConfigureFero constructor initialize all required values.

Parameters:
name Name
handler The command handler

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

the ConfigureFero destructor destroy the mutex and condition variable


Member Function Documentation

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

the commandHandler method handle the incomming command.

Returns:
true on success, false otherwise

Implements ztt::dcs::FedCommand.

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

the isBusy method return the actual state of the channel.

Returns:
Whether we're busy

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

the setAnswerData method collect the corresponding feeserver acknowledges and wake the watch dog when all acks arrived.

Parameters:
ID contain the answer ID
Returns:
true on success, false otherwise

Implements ztt::dcs::FedCommand.

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

the watchDog is needed to detect timeouts of the feeserver

Parameters:
objectHandler transport the required values into the thread


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