57 virtual const char*
type()
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool generateEchelonId(int designator)
Generates an echelon id based on the provided designator, the local entity opd entry, and the current state of the organization hierarchy, and assigns the echelon id to the entity.
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual void setCommandNetRadioChannel()
Sets the command net radio channel for this entity's radio to a unique number based on the entity ide...
virtual void tick()
Updates the echelon organization as necessary, such as in the event of an entity getting destroyed or...
virtual bool reorganizeNeeded()
Returns true if reorganization is needed (invalid entities need to be reassigned to least significant...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtPseudoAggregateOrganizationController is the controller component in pseudo-aggregates responsible ...
Definition: aggregateOrganizationController.h:27
virtual bool init()
Calls setRadio()
std::set< int > DtIntSet
Definition: topLevelOrganizationController.h:98
DtAggregateOrganizationController & operator=(const DtAggregateOrganizationController &orig)
Not implemented.
DtIntSet myDesignatorsIssuedThisTick
This keeps track of designators issued this tick so that the same designator is not issued to two obj...
Definition: topLevelOrganizationController.h:102
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
virtual void reorganize()
Reorganizes the aggregate members, moving destroyed or independly tasked entities to the bottom of th...
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
virtual const char * type() const
Returns a string identifies the class type of component.
DtTopLevelOrganizationController; aggregate organization controller for a force-level aggregate entit...
Definition: topLevelOrganizationController.h:25
virtual int nextAvaliableDesignator()
Returns the next avaliable designator to be used.