![]() |
VR-Forces Developer's Guide
|
A set of DtSimComponent and DtComponentSystem instances that are connected with a set of connections. This class manages the instantiation of these components and systems from the descriptors and connecting them based on the connection list provided.
Protected Member Functions | |
| virtual bool | createComponentConnection (DtSimComponent *sourceComp, const DtString &sourcePortName, DtSimComponent *destComponent, const DtString &destPortName, DtString &errorString) |
| virtual bool | createSensorComponentList () |
| virtual bool | createControllerComponentList () |
| virtual bool | createActuatorComponentList () |
Private Member Functions | |
| DtSimComponentNetwork () | |
| DtSimComponentNetwork (const DtSimComponentNetwork &orig) | |
| DtSimComponentNetwork & | operator= (const DtSimComponentNetwork &orig) |
|
private |
Not implemented.
|
private |
Not implemented.
| DtSimComponentNetwork::DtSimComponentNetwork | ( | DtLocalObject * | vrfObject, |
| DtComponentSystem * | parentSystem | ||
| ) |
|
virtual |
|
private |
Not implemented.
|
virtual |
|
virtual |
|
virtual |
Calls postAddComponentsInit() on all subcomponents.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Removes sensor from the component manager list, and removes any port connections to or from the component by calling disconnectComponent(). Does not delete the component.
|
virtual |
Removes controller from the component manager list, and removes any port connections to or from the component by calling disconnectComponent(). Does not delete the component.
|
virtual |
Removes actuator from the component manager list, and removes any port connections to or from the component by calling disconnectComponent(). Does not delete the component.
|
virtual |
Lookup a particular component by its DtReaderWriter name. This recurses down though all component systems contained by this network.
|
virtual |
Returns a list of all components of the given type in this component network. The typeString is that returned by DtSimComponent::type() such as those found in compTypes.h.
|
inline |
Returns a list of DtSimComponents that can cast to the particular component type.
|
virtual |
Lookup a particular system by name.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Populates mySystemList by creating the systems described in the provided system descriptor list. If any systems have duplicate names they will not be created and a warning will be printed.
| priority | The starting priority of any components that are created by this call. This parameter will contain the next valid priority for creation of components created after this call. |
|
virtual |
Adds a new port connection between two components within the component manager. Source and Destination strings are specified in any of the formats: component-name:port-name component-name:port-group-name component-name:port-group-name:port-name A connection between two port groups will create connections between all members of the two groups which have matching names and types.
Warning level is 0 produce no warning, 1 produce error level, 2 produce verbose level. 2 will be set for auto-connections
|
virtual |
Takes the connection descriptor list from the OPD file and creates all the port connection and port group connections for this entity. Makes the connections by calling createComponentConnection().
|
virtual |
Removes and deletes all connections (both port and port group) to and from this component.
|
virtual |
Removes and deletes a single connection.
|
virtual |
Removes and deletes a group connection and any sub-connections that are part of the group.
|
virtual |
Enables/disables components/systems in the network.
|
virtual |
Enables/disables components/systems in the network.
|
virtual |
Clears out all information and deletes all components in this network.
|
virtual |
|
protectedvirtual |
Locates the named ports on each specified component and creates a connection between them. If unable to create, the error is returned in errorString, and the function returns false.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |