52 virtual void removeWeaponsList(
const DtUUID& sub);
56 virtual void ageResponses();
59 virtual void emptyWeaponsMap();
62 virtual bool init()
override;
66 virtual const char*
type()
const override;
77 virtual void processSubordinateAdded(
const DtUUID& sub);
78 virtual void processSubordinateRemoved(
const DtUUID& sub);
82 virtual void sendWeaponResponse(
const DtUUID& recipient,
bool bIncludeResources);
83 virtual void sendResponsesToRequestors();
87 virtual void tick()
override;
126 const DtString& defaultPsrName,
bool useDescriptorParams =
true);
140 virtual void connectToWeaponListResponses();
141 virtual void disconnectFromWeaponListResponses();
146 virtual void sendWeaponListRequest(
const DtUUID& subId);
147 virtual void sendWeaponListRequests();
UUID is a unique ID wrapper class.
Definition: uuid.h:59
std::map< DtUUID, double > AgingMap
Definition: aggregateWeaponListResponder.h:33
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool postAddComponentsInit()
Called after all components have been created, initialized and added to the component manager...
Definition: simComponent.h:126
AgingMap mySubordinateRequestAgingMap
Definition: aggregateWeaponListResponder.h:167
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
DtAggregateLocalObjectFacade myAggregateLocalObjectFacade
Definition: aggregateWeaponListResponder.h:165
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
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
boost::signals2::scoped_connection mySubordinateAddedConnection
Container for state data associated with this component. This state is saved and restored as part o...
Definition: aggregateWeaponListResponder.h:156
DtAggregateWeaponListResponder responds to DtWeaponListRequestAdmin.
Definition: aggregateWeaponListResponder.h:29
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
bool bMyPushToSuperior
Definition: aggregateWeaponListResponder.h:160
bool bMySendWeaponRequestToSubordinates
Definition: aggregateWeaponListResponder.h:159
DtTime myNextSendWeaponRequestTime
Definition: aggregateWeaponListResponder.h:162
DtSimComponent & operator=(const DtSimComponent &orig)
assignment operator, not implemented
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
DtVrfProcessStateRepository * createComponentPsr(const DtString &defaultPsrType, const DtString &defaultPsrName, bool useDescriptorParams=true)
Creates a PSR for this component and registers it with the PSR manager. This is typeically called fro...
std::list< WeaponSystem > DtWeaponList
Definition: weaponListResponseAdmin.h:53
WeaponsMap myWeaponsMap
Definition: aggregateWeaponListResponder.h:170
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
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
Contains the DtSimComponent class declaration.
std::map< DtUUID, DtWeaponList > WeaponsMap
Definition: aggregateWeaponListResponder.h:34
boost::signals2::scoped_connection mySubordinateRemovedConnection
Definition: aggregateWeaponListResponder.h:157
AgingMap myRequestorsAgingMap
Definition: aggregateWeaponListResponder.h:168
DtTime myNextAgingTime
Definition: aggregateWeaponListResponder.h:163
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
A locally simulated VRF object.
Definition: localObject.h:98