VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtEntityListMultiInputPort Class Reference

A multi-connection input port whose data members are entity lists. More...

Inheritance diagram for DtEntityListMultiInputPort:
Inheritance graph
[legend]

Public Member Functions

 DtEntityListMultiInputPort (const DtString &portName)
virtual ~DtEntityListMultiInputPort ()
virtual bool acceptType (const DtString &type) const
 Accepts DtEntityListPortDataType.
virtual const DtEntityTargetList * firstValue ()
 Sets the interal iterator to the first set of data on the input port, and returns the value.
virtual const DtEntityTargetList * value () const
 Return the value at the current set of data on the port.
virtual const DtEntityTargetList * nextValue ()
 Advances the iterator to the next set of data on the port.
- Public Member Functions inherited from DtMultiConnectionInputPort
 DtMultiConnectionInputPort (const DtString &portName)
 Constructor.
virtual ~DtMultiConnectionInputPort ()
 Destructor.
virtual void receiveData (DtPortData *data, const DtPortConnection *conn)
 clones the specified DtPortData into the connection slot corresponding to the connection.
virtual bool attemptToActivateConnection (DtPortConnection *conn, int connectionPriority)
 Activated this connection by adding an entry for it in the myCurrentConnections list.
virtual bool canActivate (const DtPortConnection *conn, int connectionPriority) const
 Checks if this connection can be the active connection.
virtual void deactivateConnection (DtPortConnection *conn)
 If conn is the currently active connection, it is deactivated and this port has no active input connection.
virtual bool activeConnection () const
 Returns true if there is an active connection into this port.
virtual bool connectionActive (const DtPortConnection *connection) const
 Returns true if the specified connection is currently active.
virtual int connectionPriority () const
 Always returns -1, since any number of active input conenctions are always allowed.
- Public Member Functions inherited from DtInputPort
 DtInputPort (const DtString &portName)
 Constructor.
virtual ~DtInputPort ()
 Destructor.
virtual const DtStringname () const
 Returns the name string of this port.
virtual void addConnection (DtPortConnection *conn)
 Add an incomming connection to this port.
virtual void removeConnection (DtPortConnection *conn)
 Remove an incomming connection to this port.
virtual const DtList * connectionList () const
 Returns the list of input connections to this port.
virtual bool newData () const
 Returns true if there is new data on this port that has not been received.
virtual void dataReceived ()
 Clears the newData flag on this port.
virtual bool enabled () const
 Enables/disables the port.
virtual void setEnabled (bool flag)

Protected Attributes

DtMultiConnectionInputPortConnectionMap::const_iterator myPortDataIterator
- Protected Attributes inherited from DtMultiConnectionInputPort
DtMultiConnectionInputPortConnectionMap myCurrentConnections
- Protected Attributes inherited from DtInputPort
DtString myName
bool myNewDataFlag
bool myEnabled
DtList myConnectionList

Detailed Description

A multi-connection input port whose data members are entity lists.

Constructor & Destructor Documentation

DtEntityListMultiInputPort::DtEntityListMultiInputPort ( const DtString portName)
virtual DtEntityListMultiInputPort::~DtEntityListMultiInputPort ( )
virtual

Member Function Documentation

virtual bool DtEntityListMultiInputPort::acceptType ( const DtString type) const
virtual

Accepts DtEntityListPortDataType.

Implements DtInputPort.

virtual const DtEntityTargetList* DtEntityListMultiInputPort::firstValue ( )
virtual

Sets the interal iterator to the first set of data on the input port, and returns the value.

Retuns NULL if no more data.

virtual const DtEntityTargetList* DtEntityListMultiInputPort::value ( ) const
virtual

Return the value at the current set of data on the port.

virtual const DtEntityTargetList* DtEntityListMultiInputPort::nextValue ( )
virtual

Advances the iterator to the next set of data on the port.

Retuns NULL if no more data.

Member Data Documentation

DtMultiConnectionInputPortConnectionMap::const_iterator DtEntityListMultiInputPort::myPortDataIterator
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)