31 virtual bool loadHazardAreaInformationFile(
const DtFilename&
filename,
bool clear);
42 virtual void addHazardAreaType(
const DtEntityType&);
46 virtual void removeHazardAreaType(
const DtEntityType&);
49 virtual std::vector<DtSimObjectReference> hazardAreas(
const DtEntityType&)
const;
51 virtual const std::vector<DtEntityType>& hazardAreaTypes()
const;
54 virtual const std::map<unsigned long long, DtSimObjectReference>& hazardAreas()
const;
60 static void requestHazardAreaInformationCallback(
DtSimMessage* msg,
void* usr);
61 virtual void processHazardAreaInformation(
DtSimMessage* msg);
67 virtual void processHazardAreaDeleted(
const DtSimObject*);
const DtSimulationServices * mySimulationServices
Definition: hazardAreaManager.h:70
DtRwHazardAreaInformation myHazardAreaInformation
Definition: hazardAreaManager.h:71
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
The DtHazardAreaManager will keep track of all hazard area objects and their state. Hazard areas are predefined as part of this class. Call the add/remove methods to add or remove areas to watch.
Definition: hazardAreaManager.h:21
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
File: simMsg.h.
Definition: simMessage.h:35
std::map< unsigned long long, DtSimObjectReference > myHazardAreas
Definition: hazardAreaManager.h:73
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.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:79
boost::signals2::scoped_connection mySimObjectAddedConnection
Definition: hazardAreaManager.h:75
std::vector< DtEntityType > myHazardAreaTypes
Definition: hazardAreaManager.h:72