Main Page | Class Hierarchy | Class List | Class Members

Connection Class Reference

Connection, derived from OutReg. More...

#include <outReg.h>

Inheritance diagram for Connection:

OutReg List of all members.

Public Member Functions

 Connection (OutReg *pOutRegPtr1, OutReg *pOutRegPtr2, const ConnType &pType, const int &pTC, const float &pReg=0)
float getRegValue ()
 get the value of the connection

Public Attributes

OutRegoutRegPtr1
OutRegoutRegPtr2
ConnType type
int timeConst
float factor
QTime timer
bool bTimerStarted

Detailed Description

Connection, derived from OutReg.

Effectively making it a type of OutReg, output register that can be connected to an input register.


Constructor & Destructor Documentation

Connection::Connection OutReg pOutRegPtr1,
OutReg pOutRegPtr2,
const ConnType &  pType,
const int &  pTC,
const float &  pReg = 0
[inline, explicit]
 

Parameters:
pOutRegPtr1 pointer to the output register representing the subsuming/inhibiting line
pOutRegPtr2 pointer to the output register representing the subsumed/inhibited line
pType the type of the connection (inhibition or suppression)
pTC the time constant measured in milliseconds
pReg the default (starting) value of the result of the connection, default to 0


Member Function Documentation

float Connection::getRegValue void   )  [virtual]
 

get the value of the connection

Returns:
the value of the connection, which is an output register

Reimplemented from OutReg.


Member Data Documentation

bool Connection::bTimerStarted
 

bool flag to indicate if timer has started

float Connection::factor
 

inhibition or suppression factor

OutReg* Connection::outRegPtr1
 

pointer to an output

OutReg* Connection::outRegPtr2
 

pointer to a second output

int Connection::timeConst
 

inhibition or suppression time constant

QTime Connection::timer
 

timer to enforce time constant of suppression/inhibition

ConnType Connection::type
 

inhibition (stop existing signal) or suppression (route new signal through)


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