VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
VR-Forces GUI Examples

Table of Contents

VR-Forces comes with a number of code examples.

These examples can be useful as starting points for extending the VR-Forces front-end. See also Simulation Engine (back-end) and Other Examples.

Plug-in Examples

Plug-in examples are dynamically linked libraries that are loaded using the GUI menu "Settings->Plugins" dialog.

Add Conditional (addConditionalGui)Add a new conditional statement. Related to back-end example Add Condition
Add FOM Class (addFomClassGui)Adds support for a new FOM class which can be mapped to a RPR FOM entity. Also details how to add items to the entity info dialog. Related to back-end example Add FOM Class
Add Entity Info Page (addEntityInfoPage)Add a new page to the Entity Information dialog
Add Object List FolderAdd a new folder to the Simulation Object List panel
Add Script VariableAdd a new scripted variable type to be available to a scripted task, set, or reactive task Add Scripted Variable
Add Set (Front-End) (addSetGui)Add a new set data request command. Related to back-end example Add Set
Add Simulation Command (addSimCommandGui)Add a new simulation command. Related to back-end example Add Command
Add State Property (addStatePropertyGui)Adds new state properties which are published to the network. Also details how to add items to the entity info dialog. Related to back-end example Add State Property
Add Task ExampleAdd a new task command. Related to back-end example Add Set
Scenario Import/Export (csvScenarioImporterExporterGui)Add a new scenario import/export format for use with VR-Forces.
Custom Control Object (customControlObject)Add a new custom control object with custom parameters and dialog.
Display Metrics (displayMetrics)The Display Metrics example demonstrates how to add a button to the toolbar which will display a new dialog containing scenario metrics.
Encumbered Flight (Front-End) (addSetEncumbranceGui)Add a new set encumbrance request command. Related to back-end example Encumbered Flight
Entity List (entityList)Add a new panel that displays all existing entities and their current task.
Event Manager TCP Connection (Event Manager Gui)Show how to send VR-Forces data interactions over TCP rather than the UDP connection. Related to back-end example Event Manager TCP SIM
Create Local Object in GUI (guiLocalCreateObject)Creates objects in the GUI without publishing them on the network.
GUI Object Data Interface (guiObjectDataInterface)Demonstrates how to easily retrieve simulation data for published objects.
GUI Send Interaction (guiSendInteraction)Demonstrates how to access the VR-Link DtExerciseConnection from the VRF GUI application, how to add a plug-in, and how to add a menu item.
GUI Thread VRF Remote Controller (guiThreadVrfRemoteController)Demonstrates how to control a back-end from the GUI thread.
Interface Content (interfaceContentGui)Send an interface content message. Related to back-end example Interface Content .
Interface Manipulation (interfaceManipulation)Demonstrates how to change the GUI menus and options available to the user, including how to add a toolbar and button.
Menu Manipulation (menuManipulation)Manipulates the menu, changing it from the system default.
Meta Data Script Encrypt/Decrypt (metaDataEncryptDecrypt)Example of how to encrypt meta data language scripts.
Modify Set (modifySet)Overrides the existing set dialog.
Modify Task (modifyTask)Overrides the existing task dialog.
Network Callback Manager (networkCallbackManager)How to receive callbacks for VR-Forces and VR-Link published content.
Object Filtering (objectFilter)How to filter objects on the map display.
Range Line (rangeLine)Shows how to manipulate visual definitions and create a new visualizer in code.
Spot Report Manipulation (spotReportManipulation)Manipulates the selection of spot reports.
TDL Message Extension (tdlMessageGui)Add a VRF TDL message to show which entity an object is tracking. Related to back-end example TDL Message
Unit Status (unitStatus)Add a new toolbar to the window.

/note The following examples do not come pre-built in the Linux installer:

In order to do build them to be used with VR-Forces, you must use the make command as follows:

make install

This should generate the files needed to use the plugins in Linux.


Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)