![]() |
VR-Forces Developer's Guide
|
The makVrf::DtVrfGuiSimObjectManager is the class that contains a collection of all the gui sim object data collected from the network thread.
All the data in these objects are populated from the vrlink network remote interfaces and placed into the statae components associated with each object. The Add State Component GUI example shows how to add one particular kind of new state entry data to an object. You can access this data in multiple ways:
The third way is the way is the makVrf::DtVrfGuiSimObjectManager. This singleton is a single entry point for all the differnt types of objects in the system. You can use this class to find data by DtUUID or by the objects element id. You can use this class to find a particular makVrf::DtSimObjectReference
All objects, once retrieved, can be accessed in a thread safe way. If you want to know when an object overall has been updated you can connect to its modified signal
You can also be notified when a particular state component of an object is updated rather than the whole object:
If you want to be notified when objects are added or removed from the system you can use the DtVrfGuiSimObjectManager for that notification: