http://dassault-aviation.com/tacticalenv:worldModel
service which contains the FEBA, the targets, the threats, the bases, the zones, and the corridorshttp://dassault-aviation.com/tacticalenv:aircraftsModel
service which contains the aircraftshttp://dassault-aviation.com/tacticalenv:flightplansModel
service which contains the flightplanshttp://dassault-aviation.com/tacticalenv:waypointsModel
service which contains the waypointshttp://dassault-aviation.com/tacticalenv:elements
service which contains custom elementshttp://dassault-aviation.com/tacticalenv:worldModel
service published by the tacticalenvModel module has the following specification:<event name="worldModel"> <data name="feba" type="febaObject" /> <data name="targets" type="targets" /> <data name="zones" type="zones" /> <data name="corridors" type="corridors" /> <data name="bases" type="bases" /> <data name="threats" type="threats" /> <data name="elements" type="elements" /> </event>with the following types:
<objectType name="febaObject" class="org.da.protoframework.tacticalenvmodel.model.FEBA" /> <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="bases" class="org.da.protoframework.tacticalenvmodel.model.Bases" /> <objectType name="threats" class="org.da.protoframework.tacticalenv.common.model.Threats" /> <objectType name="aircrafts" class="org.da.protoframework.tacticalenv.common.model.Aircrafts" /> <objectType name="flightplans" class="org.da.protoframework.tacticalenvmodel.model.Flightplans" /> <objectType name="waypoints" class="org.da.protoframework.tacticalenvmodel.model.Waypoints" /> <objectType name="elements" class="org.da.protoframework.tacticalenv.common.model.CustomElements" />The associated API specifies 7 classes:
org.da.protoframework.tacticalenvmodel.model.Bases
classorg.da.protoframework.tacticalenvmodel.model.Targets
classorg.da.protoframework.tacticalenvmodel.model.Threats
classorg.da.protoframework.tacticalenvmodel.model.Zones
classorg.da.protoframework.tacticalenvmodel.model.Corridors
classorg.da.protoframework.tacticalenvmodel.model.FEBA
classorg.da.protoframework.tacticalenvmodel.model.Aircrafts
classorg.da.protoframework.tacticalenvmodel.model.Flightplans
classorg.da.protoframework.tacticalenvmodel.model.Waypoints
classorg.da.protoframework.tacticalenvmodel.model.CustomElements
classFEBA
class has the following API:/** * Return true if the FEBA is empty. */ public boolean isEmpty(); /** * Return the FEBA list of points. */ public List<Point> getPoints(); /** * Add a point. */ public void addPoint(Point point); /** * Count the number of points. */ public int countPoints();
Targets
class has the following API:/** * Return the map of targets. */ public Map<String, Target> getTargets(); /** * Return true if there is a target of a specified name. */ public boolean hasTarget(String name); /** * Return the number of targets. */ public int countTargets(); /** * Return the target of a specified name. */ public Target getTarget(String name);
Zones
class has the following API:/** * Return the map of zones. */ public Map<String, Zone> getZones(); /** * Return true if there is a zone of a specified name. */ public boolean hasZone(String name); /** * Return the number of zones */ public int countZones(); /** * Return the zone of a specified name. */ public Zone getZone(String name);
Corridors
class has the following API:/** * Return the map of corridors. */ public Map<String, Corridor> getCorridors(); /** * Return true if there is a corridor of a specified name. */ public boolean hasCorridor(String name); /** * Return the number of corridors. */ public int countCorridors(); /** * Return the corridor of a specified name. */ public Corridor getCorridor(String name);
Bases
class has the following API:/** * Return the map of bases. */ public Map<String, Base> getBases(); /** * Return true if there is a base of a specified name. */ public boolean hasBase(String name); /** * Return the number of bases. */ public int countBases(); /** * Return the base of a specified name. */ public Base getBase(String name);
Threats
class has the following API:/** * Return the map of threats. */ public Map<String, Threat> getThreats(); /** * Return true if there is a threat of a specified name. */ public boolean hasThreat(String name); /** * Return the number of threats. */ public int countThreats(); /** * Return the threat of a specified name. */ public Threat getThreat(String name);
http://dassault-aviation.com/tacticalenv:aircraftsModel
service published by the tacticalenvModel module has the following specification:<publish name="aircraftsModel"> <data name="aircrafts" type="aircrafts" /> </publish>with the following type:
<objectType name="aircrafts" class="org.da.protoframework.tacticalenv.common.model.Aircrafts" />
Aircrafts
class has the following API:/** * Return the map of aircrafts. */ public Map<String, Aircraft> getAircrafts(); /** * Return true if there is an aircraft of a specified name. */ public boolean hasAircraft(String name); /** * Return the number of aircrafts. */ public int countAircrafts(); /** * Return the aircraft of a specified name. */ public Aircraft getAircraft(String name);
http://dassault-aviation.com/tacticalenv:waypointsModel
service published by the tacticalenvModel module has the following specification:<event name="waypointsModel"> <data name="waypoints" type="waypoints" /> </event>with the following type:
<objectType name="waypoints" class="org.da.protoframework.tacticalenv.common.model.Waypoints" />
Waypoints
class has the following API:/** * Return true if there is a Waypoint of a specified name. */ public boolean hasWaypoint(String name); /** * Return the map of Waypoints. */ public Map<String, Waypoint> getWaypoints(); /** * Return the number of Waypoints. */ public int countWaypoints(); /** * Return the Waypoint of a specified name. */ public Waypoint getWaypoint(String name);A
Flightplan
is an ordered list of Waypoints names.
http://dassault-aviation.com/tacticalenv:flightplansModel
service published by the tacticalenvModel module has the following specification:<publish name="flightplansModel"> <data name="flightplans" type="flightplans" /> </publish>with the following type:
<objectType name="flightplans" class="org.da.protoframework.tacticalenv.common.model.Flightplans" />
Flightplans
class has the following API:/** * Return true if there is a Flightplan of a specified name. */ public boolean hasFlightplan(String name); /** * Return the map of Flightplans. */ public Map<String, Flightplan> getFlightplans(); /** * Return the number of flightplans. */ public int countFlightplans(); /** * Return the Flightplan of a specified name. */ public Flightplan getFlightplan(String name);A
Flightplan
is an ordered list of Waypoints names. The Flightplan
class has the following API:/** * Return the Flightplan name. */ public String getName(); /** * Return true if the flightplan has no point. */ public boolean isEmpty(); /** * Return the flightplan list of points. */ public List<Point> getPoints(); /** * Add a point. */ public void addPoint(Point point); /** * Count the number of points. */ public int countPoints(); /** * Return true if the flightplan has a waypoint of a specified name. */ public boolean hasWaypoint(String waypointID) ; /** * Return the map of waypoints by their name. */ public Map<String, Integer> getWaypointsMap(); /** * Return the index of a waypoint knowing its name. */ public int getWaypointIndex(String name); /** * Return the ordered list of waypoints. * * @return the ordered list of waypoints */ public List<String> getWaypoints(); /** * Count the number of waypoints. */ public int countWaypoints();As you can see, the
Flightplan
contains:CustomElement
class has the following API:/** * Return the element type as a String. */ public String getObjectTypeAsString(); /** * Return true if the element has properties. */ public boolean hasProperties(); /** * Return the element properties. */ public Map<String, Object> getProperties(); /** * Return the value of a property. */ public Object getProperty(String name); /** * Return the value of a property as a String. */ public String getPropertyAsString(String name); /** * Return the value of a property as a boolean. */ public boolean getPropertyAsBoolean(String name); /** * Return the value of a property as a float. */ public float getPropertyAsFloat(String name); /** * Return the value of a property as an int. */ public int getPropertyAsInt(String name);
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence