Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

tacticalenvModel Application



tacticalEnvModel
Function Maintain a data store from datas provided by a tacticalEnv module
Jar files tacticalEnvModel.jar
tacticalEnvCommon.jar

Modules tacticalEnvModel
Namespace http://dassault-aviation.com/tacticalenv

Provided services worldModel
aircraftsModel
flightplansModel
waypointsModel
sendUpdatedProperty
sendUpdatedReference

Required services world
aircrafts
getFlightplanModel
flightplans
waypoints
updateProperty
updateReference



The built-in tacticalenvModel Application allows to maintain a data store from datas provided by a tacticalEnv Application, to be used by Java modules.

Architecture

The tacticalenvModel Application allows to maintain a data store from datas provided by a tacticalEnv Application.
tacticalenvmodel

ClassLoader constraint


You will need to have the tacticalEnvCommon.jar jar file in the ClassPath of your module to be able to decode the service. This will be the case if your module is in the same application as the tacticalEnvModel module, but you will need to declared it explicitly at the root level of the applications declaration if you use it in another application. For example:
      <applications>
         <deployment>
            <lib url="tacticalEnvCommon.jar" />
         </deployment>
         <application name="tacticalenv">
            <deployment>
               <lib url="tacticalEnv.jar" />
               <lib url="tacticalEnvModel.jar" />
            </deployment>
            <modules>
               <module name="tacticalenv">
      ...
               </module>
               <module name="tacticalenvModel">
      ...
               </module>
            </modules>
         </application>
         <application name="MyApplication">
      ...
         </application>
      </applications>

Services

See:

Subscribed services

The tacticalenvModel application subscribes to the following services provided by the tacticalEnv Application:
  • world: provides the content of the tactical environment at start and when the scenario is updated
  • aircrafts: provides the aircrafts at start and when the scenario is updated
  • flightplans: provides the flightplans at start and when the scenario is updated
  • waypoints: provides the waypoints at start and when the scenario is updated

Provided services

The tacticalenvModel application provides the following services:
  • worldModel: provides the content of the world
  • aircraftsModel: provides the aircrafts
  • flightplansModel: provides the flightplans
  • getFlightplanModel: provides one flightplan, and include optionnaly the associated waypoints
  • waypointsModel: provides the waypoints

Bundling tacticalEnv Applications


If you want to bundle the two modules in your architecture, you can do it by either:
  • Define two applications: one for the tacticalEnv, and one for the tacticalenvmodel
  • Define ony one application for both the modules

WorldModel

The worldModel service has the following specification:
      <event name="world">
         <data name="feba" type="feba" />
         <data name="targets" type="targetArray" />
         <data name="zones" type="zoneArray" />
         <data name="corridors" type="corridorArray" />
         <data name="bases" type="baseArray" />
      </event>
with the following types:
      <objectType name="bases" class="org.da.protoframework.tacticalenvmodel.model.Bases" />
      <objectType name="targets" class="org.da.protoframework.tacticalenvmodel.model.Targets" />
      <objectType name="zones" class="org.da.protoframework.tacticalenvmodel.model.Zones" />
      <objectType name="corridors" class="org.da.protoframework.tacticalenvmodel.model.Corridors" />
      <objectType name="febaObject" class="org.da.protoframework.tacticalenvmodel.model.FEBA" />

TacticalenvModel Application API

Main Article: tacticalenvModel API

The API specifies 7 classes:
  • "bases": The org.da.protoframework.tacticalenvmodel.model.Bases class
  • "targets": The org.da.protoframework.tacticalenvmodel.model.Targets class
  • "threats": The org.da.protoframework.tacticalenvmodel.model.Threats class
  • "zones": The org.da.protoframework.tacticalenvmodel.model.Zones class
  • "corridors": The org.da.protoframework.tacticalenvmodel.model.Corridors class
  • "febaObject": The org.da.protoframework.tacticalenvmodel.model.FEBA class
  • "aircrafts": The org.da.protoframework.tacticalenvmodel.model.Aircrafts class
  • "flightplans": The org.da.protoframework.tacticalenvmodel.model.Flightplans class
  • "waypoints": The org.da.protoframework.tacticalenvmodel.model.Waypoints class
  • "elements": The org.da.protoframework.tacticalenvmodel.model.CustomElements class

See also


Categories: builtin-applis

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence