Main Page | Class Hierarchy | Class List | Class Members

OutReg Class Reference

Not accessed by user: Output register, inherited by Connection and ExtraReg. More...

#include <outReg.h>

Inheritance diagram for OutReg:

Connection ExtraReg List of all members.

Public Member Functions

 OutReg (QMutex *pRegMtxPtr, const int &pNum, const float &pReg=0)
virtual float getRegValue ()
 get the value of the output register
void setRegValue (const float &)
 set the value of the register

Public Attributes

int num

Protected Attributes

float reg
QMutex * regMtxPtr

Detailed Description

Not accessed by user: Output register, inherited by Connection and ExtraReg.


Constructor & Destructor Documentation

OutReg::OutReg QMutex *  pRegMtxPtr,
const int &  pNum,
const float &  pReg = 0
[inline, explicit]
 

Parameters:
pRegMtxPtr a pointer to a mutex to protect the output register
pNum an identifying unique integer
pReg a value for the register, default to 0


Member Function Documentation

float OutReg::getRegValue void   )  [virtual]
 

get the value of the output register

Returns:
the value of the output register

Reimplemented in Connection.

void OutReg::setRegValue const float &  value  ) 
 

set the value of the register

Parameters:
value the value to be assigned to this register


Member Data Documentation

int OutReg::num
 

register number

float OutReg::reg [protected]
 

register

QMutex* OutReg::regMtxPtr [protected]
 

mutex to ensure integrity, must be pointer coz of something to do with copying


The documentation for this class was generated from the following files:
Generated on Wed Nov 10 17:52:35 2004 for SubsuMe by doxygen 1.3.8