Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CTDEPortHole Class Reference

#include <CTDEPortHole.h>

Inheritance diagram for CTDEPortHole:
InCTDEPort OutCTDEPort

Public Member Functions

 ~CTDEPortHole ()
 constructor More...
 
const char * className () const
 
int getWidth () const
 
int isA (const char *className) const
 Class identification. More...
 
void setWidth (int pNewWidth)
 

Protected Member Functions

void initialize ()
 

Protected Attributes

RVector * mIOVec
 
int mWidth
 
FloatVectorR * mVector
 
bool initDebugVector ()
 

Detailed Description

Base class for CTDE ports. Because in- and outputs have to be derived from the respective DE port classes, CTDEPortHole is not derived from PortHole. It just contains the common functionality and must not be used as a standalone object.

Constructor & Destructor Documentation

CTDEPortHole::~CTDEPortHole ( )

constructor

Member Function Documentation

int CTDEPortHole::getWidth ( ) const

Retrieve the vector width of a continuous port. If the resolved type of the port is not continuous, a negative number is returned.

bool CTDEPortHole::initDebugVector ( )
protected

IDC support For CONTINUOUS ports, we use datastruct particles and fill them with a FloatVector to communicate the current value of the port vector.

void CTDEPortHole::initialize ( )
protected

initialize members to be called by derived classes during their initialize()

int CTDEPortHole::isA ( const char *  className) const

Class identification.

Member Data Documentation

RVector* CTDEPortHole::mIOVec
protected

All CTDE ports within a system share a signal vector

int CTDEPortHole::mWidth
protected

Width of a continuous vector port. width of 0 denotes a scalar or discrete-event-port