Public Member Functions | List of all members
OutCTDEPort Class Reference
Inheritance diagram for OutCTDEPort:
CTDEPortHole OutDEPort DEPortHole

Public Member Functions

Geodesic * allocateGeodesic ()
 
OutSignalDescriptor getAlias (size_t pIndex) const
 
size_t getIOVecIndex (size_t pSigIndex) const
 
OutSignalDescriptor getRealSignal (size_t pIndex) const
 
bool hasAlias (size_t pIndex) const
 
void initialize ()
 
int isItOutput () const
 
OutCTDEPortoperator= (const RVector &pInpV)
 
double & operator[] (unsigned int pIdx)
 
const double & operator[] (unsigned int pIdx) const
 
Particle & put (double stamp)
 
void sendData ()
 
bool setAlias (size_t pMyIdx, const InCTDEPort &pInPort, size_t pInIdx)
 
bool setIOVector (RVector *pVec, const std::valarray< size_t > &pIndexArray)
 
void setVector (const RVector &pVal)
 
void setVector (std::vector< double > pVal)
 
void setVector (const double *pVal, size_t pSz)
 
void setWidth (int pNewWidth)
 
- Public Member Functions inherited from CTDEPortHole
 ~CTDEPortHole ()
 constructor More...
 
const char * className () const
 
int getWidth () const
 
int isA (const char *className) const
 Class identification. More...
 
void setWidth (int pNewWidth)
 
- Public Member Functions inherited from OutDEPort
int isItOutput () const
 
Particle & put (double stamp)
 
void sendData ()
 
- Public Member Functions inherited from DEPortHole
const char * className () const
 
virtual void cleanIt ()
 
void initialize ()
 
int isA (const char *) const
 
Particle & operator% (int)
 
const Particle & operator% (int) const
 
StringList getDataAsStrings () const
 
StringList getDataAsStrings () const
 
virtual size_t getCurrentParticleNumber () const throw ( PortAccessException )
 
virtual const Particle & getCurrentParticleAtIndex (size_t pIndex) const throw ( PortAccessException )
 
bool checkNotify () const
 
std::valarray< InSignalDescriptormAliases
 
std::valarray< size_t > mIndexVec
 
bool setInputInfluence ()
 
bool setInputInfluence (const InCTDEPort &pIn)
 
bool setInputInfluence (size_t pMyIdx, const InCTDEPort &pIn)
 
bool setInputInfluence (size_t pMyIdx, const InCTDEPort &pIn, size_t pInIdx)
 
bool unsetInputInfluence ()
 
bool unsetInputInfluence (const InCTDEPort &pIn)
 
bool unsetInputInfluence (size_t pMyIdx, const InCTDEPort &pIn)
 
bool unsetInputInfluence (size_t pMyidx, const InCTDEPort &pIn, size_t pInIdx)
 
bool setStateInfluence ()
 
bool setStateInfluence (const IntegratorState &pState)
 
bool setStateInfluence (size_t pMyIdx, const IntegratorState &pState)
 
bool setStateInfluence (size_t pMyIdx, const IntegratorState &pState, size_t pStateIdx)
 
bool unsetStateInfluence ()
 
bool unsetStateInfluence (const IntegratorState &pState)
 
bool unsetStateInfluence (size_t pMyIdx, const IntegratorState &pState)
 
bool unsetStateInfluence (size_t pMyidx, const IntegratorState &pState, size_t pStateIdx)
 
CTDEStargetValidParent ()
 

Additional Inherited Members

- Public Attributes inherited from DEPortHole
int dataNew
 
int depth
 
double timeStamp
 
- Protected Member Functions inherited from CTDEPortHole
void initialize ()
 
bool initDebugVector ()
 
- Protected Attributes inherited from CTDEPortHole
RVector * mIOVec
 
int mWidth
 
FloatVectorR * mVector
 
- Protected Attributes inherited from DEPortHole
CircularBuffer mBuffer
 
size_t mBufferSize
 

Member Function Documentation

bool OutCTDEPort::checkNotify ( ) const

check for attached notify object and trigger an notification At the moment, it also checks for the sDebugPorts flag.

Returns
false in case an error occured.
OutSignalDescriptor OutCTDEPort::getAlias ( size_t  pIndex) const

new interface: set iovec independent of connect() calls & in arbitrary order

StringList OutCTDEPort::getDataAsStrings ( ) const

Debug and visualisation interface Return a StringList containing string representations of the particles residing in the buffer. does not support element access.

OutSignalDescriptor OutCTDEPort::getRealSignal ( size_t  pIndex) const
Returns
the 'real' source output signal. In case of a cyclic reference, the null< > object of the class is returned
CTDEStar* OutCTDEPort::getValidParent ( )
protected

convenience method for getting the parent block of this state and checking its correct type

OutCTDEPort & OutCTDEPort::operator= ( const RVector &  pInpV)
inline

Assign the value of a continuous vector port.

Returns
Reference to myself, compliant to normal definition of operator=
double & OutCTDEPort::operator[] ( unsigned int  pIdx)
inline

Get a writable reference to an entry of an vectorized output

const double & OutCTDEPort::operator[] ( unsigned int  pIdx) const
inline

get a const reference to an output port signal. used for debugging and visualisation

Particle& OutCTDEPort::put ( double  stamp)

only for discrete-event Type operator to return a zero delayed Particle, which is same as operator % (0). set the timestamp. for continuous ports, warn and ignore (possibly abort?)

void OutCTDEPort::sendData ( )

Send Data according to PortHole Type For continuous type, dispatch to base class method for discrete event, use DE implementation

bool OutCTDEPort::setInputInfluence ( )

Influence declaration methods. Declare that an continuous output (or a specific signal element of the output) depends on (or is independed of) the continuous inputs of the containing primitive/ a specific input/a specific signal element of an input port. Output ports can also depend on dynamic (integrator) states of the primitive.Declare the port to depend on all continuous inputs.

bool OutCTDEPort::setInputInfluence ( const InCTDEPort pIn)

Declare the port to depend on all input pIn.

bool OutCTDEPort::setInputInfluence ( size_t  pMyIdx,
const InCTDEPort pIn 
)

Declare element pMyIdx of the output vector to depend on input pIn.

bool OutCTDEPort::setInputInfluence ( size_t  pMyIdx,
const InCTDEPort pIn,
size_t  pInIdx 
)

Declare element pMyIdx of the output vector to depend on elements pInIdx of input pIn.

bool OutCTDEPort::setStateInfluence ( )

Declare the port to depend on all integrator states of the containing primitive.

bool OutCTDEPort::setStateInfluence ( const IntegratorState pState)

Declare the port to depend on the integrator state pState.

bool OutCTDEPort::setStateInfluence ( size_t  pMyIdx,
const IntegratorState pState 
)

Declare element pMyIdx</> of the output vector to depend on the integrator state pState.

bool OutCTDEPort::setStateInfluence ( size_t  pMyIdx,
const IntegratorState pState,
size_t  pStateIdx 
)

Declare element pMyIdx</> of the output vector to depend on element pStateIdx of the integrator state pState.

bool OutCTDEPort::unsetInputInfluence ( )

Declare the port not to depend on any continuous input of the containing primitive.

bool OutCTDEPort::unsetInputInfluence ( const InCTDEPort pIn)

Declare the port not to depend on the input pIn.

bool OutCTDEPort::unsetInputInfluence ( size_t  pMyIdx,
const InCTDEPort pIn 
)

Declare element pMyIdx of the output vector to be independent of input pIn.

bool OutCTDEPort::unsetInputInfluence ( size_t  pMyidx,
const InCTDEPort pIn,
size_t  pInIdx 
)

Declare element pMyIdx of the output vector to be independent of element pInIdx of input pIn.

bool OutCTDEPort::unsetStateInfluence ( )

Declare the port not to depend on any integrator state within the containing primitive.

bool OutCTDEPort::unsetStateInfluence ( const IntegratorState pState)

Declare the port not to depend on the integrator state pState .

bool OutCTDEPort::unsetStateInfluence ( size_t  pMyIdx,
const IntegratorState pState 
)

Declare element pMyIdx</> of the output vector to be independent of the integrator state pState.

bool OutCTDEPort::unsetStateInfluence ( size_t  pMyidx,
const IntegratorState pState,
size_t  pStateIdx 
)

Declare element pMyIdx</> of the output vector to be independent of element pStateIdx of the integrator state pState.