![]() |
VR-Forces Developer's Guide
|
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 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 Folder (addObjectListFolder) | Add a new folder to the Simulation Object List panel |
| Add Script Variable (addScriptVariableGui) | Add a new scripted variable type to be available to a scripted task, set, or reactive task Add Scripted Variable |
| Add Set (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 Component GUI | Add a new state component to store data read from the network. 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 (addTaskGui) | Add a new task command. Related to back-end example Add Set |
| Importing/Exporting Scenarios from Different File Formats (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. |
| Overlay Organization (overlayOrganization) | The Overlay Organization example shows how to add a folder contruct to the overlay manager to allow for better overlay organization. |
| Encumbered Flight (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 (eventManagerTCPGui) | 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 panel to the window and shows how to add a simple attached visual to an object. |
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.