VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VR-Forces Back-end 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 back-end. See also VR-Forces Front-End (GUI) and Other Examples.

Plug-in Examples

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

Add Actuator (addActuator)Add a new kind of actuator to an entity
Add Attribute (addAttrSim)Publish additional information by extending the VR-Forces entity state repository. Related to front-end example Add Attribute.
Add Comm Model (addCommModel)Add a new communication model to control how radio messages are sent between entities.
Add Entity (addEntity)Add a new kind of entity (space shuttle)
Add Lua Function (addLuaFunction)Add a new bound function to be available in Lua scripts
addscriptvariablesimAdd a new scripted task variable used for scripted task, sets and recactive tasks. Related to front-end example Add Scripted Variable.
Add Set (Back-End) (addSetSim)Add a new set data request command. Related to front-end example Add Set.
Add Set Encumbrance(Back-End) (addSetEncumbranceSim)Add a new set data request command to change the cargo weight of rotary wing aircraft.. Related to front-end example Add Set Enucumberance GUI.
Add PSR (Process State Repository) (addPsr)Add a new component and PSR (process state repository) for saving/restoring component's state
Add a new sensor propagator (addSensorPropagator)Add a new sensor propagator for calculating how to detect other entities
Add Simulation Command (addSimCommandSim)Add a new simulation command. Related to front-end example Add Simulation Command.
Add Task (addTaskSim)Add a new task.
Add Conditional (addConditionalSim)Add a new conditional expression to plan language. Related to front-end example Add Conditional.
Importing/Exporting Scenarios from Different File Formats (csvScenarioImporterExporterSim)Add a new scenario import/export format for use with VR-Forces.
Decide to Give Up (decideToGiveUpTask)Give up a task based on user-defined criteria
State Repository Extension (extendStateRepository)Extend existing state repository classes through composition instead of subclassing
Joystick ControllerCreates a new joystick enabled controller that should how to add and configure a joystick enabled controller.
Interface ContentSend an interface content message. Related to front-end example Interface Content.
Meta Data Script Encrypt/Decrypt (metaDataEncryptDecrypt)Example of how to encrypt meta data language scripts.
Object Manager Extension (objectManager)Subclass and install your own version of the object manager
Parallel Tick (parallelTick)Demonstrates how to write a thread safe component
Radar Warning (radarWarnRx)Add the ability to detect and react to a threat to an aircraft
Settings Manager Extension (settingsManagerSim)Demonstrates how to install your own settings manager

Standalone Examples

Standalone examples are self-contained executables.

Simple CGF (simpleCGF)Simple application that loads a terrain, creates an entity, and gives the entity a task to perform
Simple Plan (simplePlan)Simple application that loads a terrain, creates an entity, constructs a plan for the entity to execute

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)