16 #include <tbb/spin_mutex.h>
58 virtual const char*
type()
const override;
64 virtual void tick()
override;
85 virtual bool init()
override;
96 virtual void initiateNewSubordinate(
const DtSimObject* subordinate,
int designator);
100 virtual void setCommandNetRadioChannel();
103 virtual int nextAvailableDesignator();
108 virtual void reorganize();
112 virtual void sendSetDesignator(
int designator,
const DtUUID&
object);
116 virtual bool reorganizeNeeded();
118 static void addToOrganizationCallback(
DtSimMessage*,
void* usr);
122 static void reorganizeCallback(
DtSimMessage * msg,
void * usrData);
127 virtual bool isForceLevel()
const;
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
std::map< DtUUID, int > myWaitingForSubordinates
Definition: aggregateOrganizationController.h:131
Definition: simRadio.h:30
boost::signals2::scoped_connection mySimObjectAddedConnection
Definition: aggregateOrganizationController.h:132
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
class DtIfAddToOrganization:
Definition: ifAddToOrganization.h:23
virtual bool init() override
Calls setRadio()
DtOrganizationController is intended for any entity which will be a leaf node on the organization hie...
Definition: organizationController.h:28
int myDelayDesignatorReorder
Definition: aggregateOrganizationController.h:135
DtPseudoAggregateOrganizationController is the controller component in pseudo-aggregates responsible ...
Definition: aggregateOrganizationController.h:29
DtAggregateLocalObjectFacade myAggregateLocalObjectFacade
Definition: aggregateOrganizationController.h:137
File: simMsg.h.
Definition: simMessage.h:35
DtCompatibilityRadio * myCommandRadio
Definition: aggregateOrganizationController.h:130
virtual void setRadio(DtSimRadio *radio) override
Overrides this so it can register its interest in the set commands.
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:80
bool myNeedsDesignatorReorder
Definition: aggregateOrganizationController.h:134
const DtOrganizationController & operator=(const DtOrganizationController &orig)
assignment operator
virtual void tick() override
Checks for superior echelon id change, and changes this entity's echelon id if necessary.
DtCompatibilityRadio.
Definition: compatibilityRadio.h:30
A locally simulated VRF object.
Definition: localObject.h:98