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

ztt::dcs::ConfigureFeeCom Class Reference

#include <ConfigureFeeCom.hpp>

Inheritance diagram for ztt::dcs::ConfigureFeeCom:

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

Detailed Description

ConfigureFeeCom is the command channel for the configurefeecom command. it handle the command and decide where the target of the command is located. to increase the safety of the application a watchDog thread is started that check the elapsed time of the answer. It also handle the answers of a broadcast and single commands.

Date:
10.01.05
Author:
Benjamin Schockert


Public Member Functions

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

Static Public Member Functions

void * watchDog (void *objectHandler)


Constructor & Destructor Documentation

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

constructor of configurefeecom initialize and create the required variables

Parameters:
name Name
handler The handler used

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

the assignment operator


Member Function Documentation

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

this method handle the incoming commands and start the proper action

Implements ztt::dcs::FedCommand.

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

Returns:
Whether we're busy

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

Set the answer data

Parameters:
ID Answer ID.
Returns:
true on success, false otherwise

Implements ztt::dcs::FedCommand.

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

Start the watch dog

Parameters:
objectHandler Handler
Returns:


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