![]() |
VR-Forces 4.1.1 Class Documentation
|
The MyInterfaceContent is a subclass of DtSimInterfaceContent that is used send interface content messages that can contain any type of information.
When creating the network structure that represents the interface content message, it is important to remember to align it along an 8 byte boundry
This example demonstrates how add a new kind of interface content message.
Select Settings, Plugins... and on the Plugins Editor page, use the combo box at the top of the page to select the plug-in. Then enable the Load Plugin checkbox and re-start VR-Forces.
To view the new behavior:
The vrfGui application creates and sends a new kind of interface content message. Both vrfGui and vrfSim receive the message and display its contents in their console windows (message content includes the phrase 'Testing from interfaceContentGui').