WSF
WsfTypes.hpp File Reference
#include "wsf_export.h"
#include <string>
Include dependency graph for WsfTypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  WsfTypes

Enumerations

enum  WsfSpatialDomain {
  WSF_SPATIAL_DOMAIN_UNKNOWN = 0 , WSF_SPATIAL_DOMAIN_LAND = 1 , WSF_SPATIAL_DOMAIN_AIR = 2 , WSF_SPATIAL_DOMAIN_SURFACE = 3 ,
  WSF_SPATIAL_DOMAIN_SUBSURFACE = 4 , WSF_SPATIAL_DOMAIN_SPACE = 5
}
 A collection of enumerations and type definitions that are used across a number of components. More...

Functions

bool WsfTypes::StringToEnum (const std::string &aString, WsfSpatialDomain &aSpatialDomain)
std::string WsfTypes::EnumToString (WsfSpatialDomain aSpatialDomain)

Enumeration Type Documentation

◆ WsfSpatialDomain

A collection of enumerations and type definitions that are used across a number of components.

Define the 'domain' of an entity (land, air, etc.)

The 'domain' provides broad categorization of where and platform primarily exists (a car on land, a plane in the air, etc.). The default value for a platform is defined by the type of mover that is attached to the platform.

The enumeration values coincide with the definitions in used by IEEE Standard for Distributed Interaction Simulation (DIS), 1278.1 and the accompanying DIS Enumerations document.

Note
The values must be usable as a bit number (See WsfSensor).
Enumerator
WSF_SPATIAL_DOMAIN_UNKNOWN 
WSF_SPATIAL_DOMAIN_LAND 

unknown or undefined

WSF_SPATIAL_DOMAIN_AIR 

Cars, trucks, buildings, etc.

WSF_SPATIAL_DOMAIN_SURFACE 

Airplanes, etc.

WSF_SPATIAL_DOMAIN_SUBSURFACE 

Ships, boats, etc.

WSF_SPATIAL_DOMAIN_SPACE 

Submarines.

Copyrights Multiple, All Rights Reserved