12 #include <tbb/spin_rw_mutex.h>
std::vector< DtSimResource > resources() const
Returns the resource list last received for this object.
Definition: webServerObject.h:70
virtual ~DtWebServerObject() override=default
Template around a TBB RW Mutex lock which adds a tracy marker when the lock is waiting on the mutex...
Definition: tracyLocks.h:45
void setResources(std::vector< DtSimResource > resources)
Replaces the resource list.
Definition: webServerObject.h:77
std::vector< TaskInformation > EntityTaskInformation
Definition: currentTaskManager.h:48
void setCurrentTasks(DtCurrentTaskManager::EntityTaskInformation tasks)
Replaces the current task information.
Definition: webServerObject.h:59
tbb::spin_rw_mutex myDataMutex
Definition: webServerObject.h:87
std::vector< std::string > myCapableTasksAndSets
Definition: webServerObject.h:84
void setCapableTasksAndSets(std::vector< std::string > tasksAndSets)
Replaces the entire capable tasks and sets list.
Definition: webServerObject.h:42
DtWebServerObject(makVrf::DtStateData *stateData)
Definition: webServerObject.h:27
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:513
const DtStateData * stateData() const
Definition: stateDataWrapper.h:246
DtWebServerObject — thin extension of DtStateDataWrapper for objects tracked by the web server...
Definition: webServerObject.h:24
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: stateDataWrapper.h:49
DtCurrentTaskManager::EntityTaskInformation currentTasks() const
Returns the current task information last received for this object.
Definition: webServerObject.h:52
std::vector< DtSimResource > myResources
Definition: webServerObject.h:86
const std::vector< std::string > & capableTasksAndSets() const
Returns the list of capable task and set names for this object.
Definition: webServerObject.h:39
DtStateDataWrapper()
CTOR – Even though this takes a state data it will not keep a reference to that state data...
DtCurrentTaskManager::EntityTaskInformation myCurrentTasks
Definition: webServerObject.h:85
const char DtWebServerObjectMutexName[]
std::shared_ptr< DtWebServerObject > DtWebServerObjectPtr
Definition: webServerObject.h:90