The Visualization Component runs in the main thread of the application.
The main thread is responsible for the following major pieces:
-
Map Display - The makVrv::DtRenderer is run each tick to update the displays that are visible.
-
Agent Manager Queue - The queue that is used to distribute messages that are created by using Agents in the network thread (see The Network Component).
-
Notification of makVrv::DtGuiSimObject changes - The makVrf::DtVrfGuiSimObjectManager will be notified of changes made to the makVrf::DtStateData that the objects wrap. It will then issue the signal_modified for those sim objects. You can connect to those modified signals to be notified when any data about the object changes
-
Processing of Messages Received from the Back-End - In response to the Agent Manager, any messages sent via the makVrf::DtGuiThreadNetworkCallbackManager (see Network Message Agent)
-
Update of Object Lists - In response to state view updates, all object lists will be updated for object addition, removal or modification.
-
Update of Information Dialogs - In response to state view updates, any active information dialogs or widgets that show object information will be updated.
During this process, if you wish to be notified before these operations start connect to the makVrv::DtDe signal_preTick boost signal. Connect to the signal_postTick signal to be notified when the tick is complete.