![]() |
VR-Forces 5.0.1 Developer's Guide
|
DtInputPortGroup is a data port group of a data consumer. It may contain any number of DtInputPorts and other DtInputPortGroups. Calls made to the input port group make associated calls on all the groups and ports contained within it. It can be connected to a DtOutputPortGroup, which results in a connection between the individual ports and groups which are contained in each.

Public Member Functions | |
| DtInputPortGroup (const DtString &name) | |
| virtual | ~DtInputPortGroup () |
| virtual const DtString & | name () const |
| virtual bool | anyPortsActive () const |
| virtual bool | allPortsActive () const |
| virtual bool | newData () const |
| virtual void | dataReceived () |
| virtual void | addPort (DtInputPort *port) |
| virtual void | removePort (DtInputPort *port) |
| virtual const DtList * | ports () const |
| virtual const DtInputPort * | port (const DtString &portName) const |
| virtual DtInputPort * | port (const DtString &portName) |
| virtual void | addConnection (DtPortGroupConnection *conn) |
| virtual void | removeConnection (DtPortGroupConnection *conn) |
| virtual const DtList * | connectionList () const |
| virtual bool | anyPortsEnabled () const |
| virtual bool | allPortsEnabled () const |
| virtual void | disableAllPorts () |
| virtual void | enableAllPorts () |
Protected Attributes | |
| DtString | myName |
| DtHashlist * | myPortList |
| DtList | myConnectionList |
Private Member Functions | |
| DtInputPortGroup (const DtInputPortGroup &) | |
| DtInputPortGroup & | operator= (const DtInputPortGroup &) |
| DtInputPortGroup::DtInputPortGroup | ( | const DtString & | name | ) |
Constructor.
|
virtual |
Destructor.
|
private |
Not Implemented.
|
private |
Not Implemented.
|
virtual |
Returns the name of this group.
|
virtual |
Returns true if any of the contained ports have an active connection.
|
virtual |
Returns true only if ALL of the contained ports have an active connection.
|
virtual |
Returns true if any of the contained ports have new data.
|
virtual |
Calls dataReceived() on all contained ports. Call this from the consumer component to indicate that the data on the port has been processed.
|
virtual |
Add a new port to the group.
|
virtual |
Remove a port from the group.
|
virtual |
Returns the list of input ports in the group.
|
virtual |
Returns a pointer to the named port in this group.
|
virtual |
Non-const version of named port return.
|
virtual |
Add an incomming connection to this port.
|
virtual |
Remove an incomming connection to this port.
|
virtual |
Returns the list of DtPortGroupConnection objects associated with this port group.
|
virtual |
Returns true if any of the contained ports is enabled.
|
virtual |
Returns true if all of the contained ports are enabled.
|
virtual |
Enables/disables the port group.
|
virtual |
|
protected |
|
protected |
List of input ports.
|
protected |
List of DtPortGroupConnection.