MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
13 - Loading Plug-Ins

After you build a plug-in, you must tell the RTI to load it.

Loading of plug-ins is controlled by $MAK_RTIDIR/plugins/plugins.xml. If plugins.xml does not exist in this directory, the RTI will not attempt to parse anything related to plugins. If plugins.xml is present, the RTI will read the file load the plug-ins. (Some plug-ins are used at RTI Ambassador creation; others are used after the connect(), but all plug-ins are loaded in the RTI Ambassador's constructor.)

The MAK RTI installation does not necessarily include this file, so you may need to create it if you write a plug-in. The format is:

<?xml version="1.0" encoding="UTF-8"?>
<plugins directory="../plugins">
<plugin name="PluginTest.dll" />
</plugins>

The directory attribute can be absolute or relative. Add a plugin element for each plug-in you want to load and specify the name of the plug-in.

[<< Compiling and Linking] [Home]


Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)