VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
5.3 - Component Systems

A collection of related DtSimComponents can be organized into a DtComponentSystem (componentSystem.h).

A DtComponentSystem is a class that may contain zero or more sensors, controllers, and actuators, and systems. Within a DtComponentSystem, components and subsystems are ticked the same way as components that belong directly to the DtSimComponentManager. Each DtComponentSystem has a DtSimResourceManager that maintains any resources associated with the system. The DtSimComponentManager has a ‘base’ DtComponentSystem that holds all DtSimComponents and DtComponentSystems for the simulation object.

Systems are used to represent some logical subsystem of a simulation object, such as a weapon or its movement capabilities. To see which systems have been defined for use in VR-Forces, use the Simulation Object Editor, or go to the ./data/simulationModelSets/<model_set>/vrfSim/systems directory to examine the system definition files (.sysdef) directly.

You can create a simulation object without any explicit systems defined by configuring the simulation object with sensors, controllers, and actuators directly. The ‘base’ DtComponentSystem will be created implicitly for the components when the simulation object is created. However, you can create larger, reusable ‘building blocks’ if you organize components into systems.

Note
Only components contained in the same system can share process state repositories.

[<< Components] [Home] [Top of Page] [The Component Manager >>]


Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)