![]() |
VR-Forces Developer's Guide
|
DtOutputPortGroup is a data port group of a data provider. It may contain any number of DtOutputPorts and other DtOutputPortGroups. Calls made to the output port group make associated calls on all the groups and ports contained within it.
Related Examples

Public Member Functions | |
| DtOutputPortGroup (const DtString &name) | |
| virtual | ~DtOutputPortGroup () |
| virtual const DtString & | name () const |
| virtual bool | anyPortsActive () const |
| virtual bool | allPortsActive () const |
| virtual bool | attemptToActivate () |
| virtual bool | canActivate () |
| virtual bool | attemptToActivateAllPorts () |
| virtual bool | canActivateAllPorts () |
| virtual void | deactivate () |
| virtual void | allowDeactivation () |
| virtual void | sendData () |
| virtual void | addPort (DtOutputPort *port) |
| virtual void | removePort (DtOutputPort *port) |
| virtual const DtList * | ports () const |
| virtual const DtOutputPort * | port (const DtString &portName) const |
| virtual DtOutputPort * | port (const DtString &portName) |
| virtual void | addConnection (DtPortGroupConnection *conn) |
| virtual void | removeConnection (DtPortGroupConnection *conn) |
| virtual const DtList * | connectionList () const |
| virtual void | setConnectionPriority (int priority) |
| 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 | |
| DtOutputPortGroup (const DtOutputPortGroup &) | |
| DtOutputPortGroup & | operator= (const DtOutputPortGroup &) |
| DtOutputPortGroup::DtOutputPortGroup | ( | 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 |
Calls attemptToActivate() on all contained ports. Returns true if ANY of the contained ports were able to activate.
|
virtual |
Calls canActivate() on all contained ports. Returns true if ANY of the contained ports can activate.
|
virtual |
Calls attemptToActivate() on all contained ports. Returns true if ALL of the contained ports were able to activate. If any ports fail to activate, deactivate() will be called.
|
virtual |
Calls canActivate() on all contained ports. Returns true if ALL of the contained ports can be activated.
|
virtual |
Calls deactivate() on all contained ports. Call this when you have no data to supply.
|
virtual |
Calls allowDeactivation on all contained ports. Call this when you have data to supply, but will allow your data to be overridden by others.
|
virtual |
Calls sendData() on all contained ports.
|
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 |
Sets the priority of all existing outgoing connections from this port group to the new priority.
|
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 output ports.
|
protected |
List of DtPortGroupConnection.