![]() |
VR-Forces 4.1.1 Class Documentation
|
All entities have a Set Data Manager, DtSetDataManager (setDataManager.h).
This class listens for all set data requests that arrive for the entity over the radio, and notify any components which have registered an interest in the set data request.
All components that need to be notified when a set data request arrives for a specific entity need to register a callback with the Set Data Manager. This callback can be registered either as a processor callback or a notify callback using addSetDataProcessorCallback() or addSetDataNotifyCallback().
Any controllers that will actually change state data register as a processor callback, and any controllers that want to be notified of the request, but will not actually carry the request out, register as notify callbacks. Any number of processor and notify callbacks are allowed for any given set request type. The only functional difference between a notify and processor callback is that the Set Request Manager reports that the entity is capable of all sets that have at least one processor callback registered. This determines what set data types are enabled on the GUI when the Set Menu is opened for a particular entity. set data request types that have only notify callbacks registered are not enabled in the GUI.
[<< The Task Manager] [Home] [Top of Page] [The Resource Manager >>]