VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Communication and Messages

This section focuses on the message-passing mechanism for exchanging messages between VR-Forces applications and their simulation objects.

VR-Forces applications communicate all information through DIS PDUs or HLA RPR FOM objects and interactions. In addition to the standard protocol messages, VR-Forces sends messages that VR-Forces applications use to communicate with one another, such as scenario management, creating and deleting objects and simulation objects, and executing plans. In order to send these messages as part of DIS or RPR, these messages are encoded into VR-Forces specific records within Data or Radio Signal interactions, depending on the message.

There are two primary categories of VR-Forces messages.

In either case there is a message class that acts as an envelope for a large, diverse selection of content classes. For Interface Messages it is DtSimInterfaceMessage. For Object Messages it is DtVrfObjectMessage. In order to send a VR-Forces message you must create an instance of the desired content. This content is then added to the appropriate message class and handed off to an interface class to send the message. The exact mechanism will depend on the type of message being sent.


Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)