Workflow for Using High-Level Architecture
Using High-Level Architecture functionality involves the following steps.
-
If Riverbed Modeler and the simulation computer have not been used for HLA simulations previously, prepare them as described in Preparing the HLA Simulation Environment.
-
Prepare the Riverbed federate.
Typically, this involves writing the C++ code for a factory function that can instantiate a Federate Ambassador tailored to the Modeler simulation. This model Federate Ambassador then mediates communications between the Riverbed federate and the rest of the federation. See “Preparing a Riverbed Federate Using Code” on page 15 for details.
If you are using the DMSO RTI 1.3, an alternative approach is possible. Instead of writing a factory function, you use a provided Federate Ambassador and prepare a class mapping file used to map Modeler entities to HLA entities and vice versa. See “Preparing a Riverbed Federate Using a Mapping File” on page 21 for details.
-
Prepare the federation.
Refer to the High-Level Architecture documentation (at www.msco.mil) for information on creating an FOM file. Also, refer to the appropriate RTI documentation for information on generating the following related files:
.fedfile (RTI 1.3).xmlFDD file (IEEE 1516)
-
Execute the simulation.
See Executing a Simulation with HLA for details.