WsfDIS

WsfDIS

WsfDIS provides static access to some of the dis_interface functionality.

Methods

EntityType EntityType(WsfObject aObject)
EntityType EntityType(string aTypeName)

Returns the EntityType for the given WsfObject type or type name if it exists in the entity_type mapping command.

Example:

...

EntityType et = WsfDIS.EntityType("AIRCRAFT");
writeln("**** Checking Entity Type by DIS, platform type: " + et.String());

et = WsfDIS.EntityType(pltfrm);
writeln("**** Checking Entity Type by DIS, object  type:  " + et.String());

...