25 #include <tbb/spin_mutex.h>
26 #include <boost/signals2.hpp>
74 virtual bool isRemoteComponentAttachment(
const DtUUID&)
const;
95 virtual void setRemoteAttachmentBalancingScheme(
const DtString& scheme,
const DtString& userData);
105 virtual void clearRecentArrivals();
122 virtual void destroyAttachmentRules();
129 virtual bool initialize(
const DtFilename& fromFile);
133 virtual void processRemoveFromArrivals(
const DtUUID& uuid);
137 virtual void resetAllReflectedObjectsToNonVrfSimulated();
140 virtual void resetReflectedObjectToNonVrfSimulated(
const DtUUID& pVrfObj);
148 void setTickRate(
DtTime interval);
156 virtual void processVrfObjectToBeRemoved(
const DtSimObject* pVrfObject);
163 virtual void doWork();
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtRemoteConfigurationMapper.
Definition: remoteConfigurationMapper.h:25
RecentArrivalsMap::iterator ArrivalIterator
Definition: remoteComponentAttachmentManager.h:46
This singleton class keeps track of components that should be added to remote, non VR-Forces entities...
Definition: remoteComponentAttachmentManager.h:35
class DtLocalObjectManager:
Definition: localObjectManager.h:157
tbb::spin_mutex myRecentArrivalsMutex
Definition: remoteComponentAttachmentManager.h:200
RecentArrivalsMap myConfirmedAttachments
keep track of what entities contain attachments
Definition: remoteComponentAttachmentManager.h:168
DtTime myNextTick
Next scheduled tick time.
Definition: remoteComponentAttachmentManager.h:171
Contains the DtUUID class declaration.
boost::signals2::scoped_connection mySimObjectAddedConnection
Definition: remoteComponentAttachmentManager.h:202
DtSimObjectReferenceList myRecentArrivals
This list captures the IDs of newly discovered simulated things.
Definition: remoteComponentAttachmentManager.h:174
DtRemoteComponentConfigurationBuilder *(* CreatorFcn)(DtRemoteComponentAttachmentManager *, DtLocalObjectManager *)
Definition: remoteComponentConfigurationBuilder.h:27
void setTickRate(DtTime interval)
Get/Set the tick interval for the attachment manager.
Definition: remoteComponentAttachmentManager.h:224
DtRemoteComponentConfigurationBuilder * myRemoteConfigBuilder
This helps parse configuration files and add components to remote entities. The remote builder is use...
Definition: remoteComponentAttachmentManager.h:182
uuid class
Definition: rwUUID.h:26
DtRemoteConfigurationMapper * myAttachmentRules
The attachment list is a container of attachment rules.
Definition: remoteComponentAttachmentManager.h:198
DtLocalObjectManager * myObjectManager
This is a pointer to the singleton's parent object.
Definition: remoteComponentAttachmentManager.h:195
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
This file declares DtRemoteConfigurationMapEntry.
Definition: remoteConfigurationMapEntry.h:23
DtRemoteComponentConfigurationBuilder::CreatorFcn myRemoteConfigBuilderCreatorFcn
This creator function is used by initialize() to create myRemoteConfigBuilder. By default...
Definition: remoteComponentAttachmentManager.h:186
DtString myRemoteComponentAttachmentScheme
Definition: remoteComponentAttachmentManager.h:204
DtTime tickRate() const
Get/Set the tick interval for the attachment manager.
Definition: remoteComponentAttachmentManager.h:223
DtRemoteComponentConfigurationBuilder::CreatorFcn builderCreatorFcn()
Get/Set the DtRemoteComponentConfigurationBuilder factory function.
Definition: remoteComponentAttachmentManager.h:213
DtRwUUID myWorkerKey
This is a worker key, to facilitate searching without requiring allocations.
Definition: remoteComponentAttachmentManager.h:189
void setBuilderCreatorFcn(DtRemoteComponentConfigurationBuilder::CreatorFcn fcn)
Get/Set the DtRemoteComponentConfigurationBuilder factory function.
Definition: remoteComponentAttachmentManager.h:218
This is a convenience list that will add DtSimObjectReference objects and modify the list as objects ...
Definition: simObjectReferenceList.h:25
DtTime myTickRate
Tick Rate, default 5.0 secs.
Definition: remoteComponentAttachmentManager.h:192
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
Contains the DtSimObjectReference class declaration.
DtString myRemoteComponentAttachmentSchemeData
Definition: remoteComponentAttachmentManager.h:205
EvaluationReadinessState
Definition: remoteComponentAttachmentManager.h:49
Ready
Definition: airRefuelSupplierStateData.h:22
std::map< DtUUID, boost::signals2::connection > RecentArrivalsMap
Definition: remoteComponentAttachmentManager.h:45
This builder class is used to attach VR-Forces components and radios to non-VRF remote entities...
Definition: remoteComponentConfigurationBuilder.h:23
RecentArrivalsMap::const_iterator const_ArrivalIterator
Definition: remoteComponentAttachmentManager.h:47