VR-Forces 4.2 Class Documentation
5.5 - The Aggregate Multi-resolution Model

The aggregate model in VR-Forces is a multi-resolution model.

Aggregates are configured with multiple sets of components and systems that have overlapping functionality. One set models the behavior of the aggregate while in a disaggregated state, and the other set models the behavior in the aggregated state. There is a special component, DtAggregateModelResolutionController (aggregateModelResolutionController.h) that manages the transition between aggregated states. It is responsible for registering for and handling DtSetAggregateState set data requests, which trigger the transition between models.

When the DtAggregateModelResolutionController receives a set data request indicating a transition to the aggregated state, is performs the following actions:

  1. It disables all of the components associated with the disaggregated state.
  2. It gathers and stores data about its current subordinates and their resources, and deletes the subordinates from the simulation. The execution of this activity is done through the DtAggregator (aggregator.h) helper class.
  3. It enables all of the components associated with the aggregated state.

When the DtAggregateModelResolutionController receives a set data request indicating a transition to the disaggregated state, is performs the following actions:

  1. It disables all of the components associated with the aggregated state.
  2. It examines its stored data about its current subordinates and their resources, and uses this information to instantiate and initialize new subordinate entities, aggregates, or both. The activity is carried out by the DtDisaggregator (disaggregator.h) helper class.
  3. It enables all of the components associated with the disaggregated state.

[<< The Component Manager] [Home] [Top of Page] [Modeling Resource Consumption >>]


Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)