VR-Forces 4.2 Class Documentation
Settings Manager Extension

The Settings Manager Extension example demonstrates the following:

Since this example is loaded as a plugin, it can be used in conjunction with the released VR-Forces application

How to Run the Example

This example demonstrates how to install your own settings manager.

Usage

OL> LI>In a command prompt, navigate to the VR-Forces bin directory and start the backend launcher using "vrfLauncher -B". LI>In the launcher, set the settingsManager plugin to load, and then start VR Forces using the preconfigured DIS connection (rather than "DIS localhost"). LI>Start settingsManagerRemoteDIS.exe from the command prompt. /OL>

After starting, the settingsManagerRemote executable will connect to the sim engine and demonstrate remotely changing and querying some test settings added by the plugin.

Plugin Entry Points

/*******************************************************************************
** Copyright (c) 2012 MAK Technologies, Inc.
** All rights reserved.
*******************************************************************************/
#include "myObjectManager.h"
#include "testSettings.h"
#include "vrfcgf/cgf.h"
#include "vrfcore/simMgr.h"
extern "C" {
{
info.pluginName = "settingsManagerSim";
info.pluginVersion = "1.00";
info.pluginCreator = "MAK Technologies";
info.pluginCreatorEmail = "sales@mak.com";
info.pluginContactWebPage = "www.mak.com";
info.pluginContactMailingAddress = "150 Cambridge Park Drive 3rd Floor - Cambridge, MA 02140 USA";
info.pluginContactPhone = "(617) 876-8085";
}
DT_VRF_DLL_PLUGIN bool DtInitializeVrfPlugin(DtCgf* cgf)
{
cgf->factoryManager()->settingsObjectFactory()->addCreatorFcn(
"test-settings", DtTestSettings::create);
return true;
}
}

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)