VR-Link C# API Documentation
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Properties | Static Private Member Functions | Private Attributes
EntityStateMessage Class Reference
+ Inheritance diagram for EntityStateMessage:
+ Collaboration diagram for EntityStateMessage:

Classes

class  ArtPart
 
class  AttPart
 
class  Parameter
 

Public Types

enum  DeadReckoningAlgorithm {
  DeadReckoningAlgorithm.OTHER, DeadReckoningAlgorithm.STATIC, DeadReckoningAlgorithm.FPW, DeadReckoningAlgorithm.RPW,
  DeadReckoningAlgorithm.RVW, DeadReckoningAlgorithm.FVW, DeadReckoningAlgorithm.FPB, DeadReckoningAlgorithm.RPB,
  DeadReckoningAlgorithm.RVB, DeadReckoningAlgorithm.FVB
}
 
enum  TrailingEffects { TrailingEffects.NONE, TrailingEffects.SMALL, TrailingEffects.MEDIUM, TrailingEffects.LARGE }
 
enum  ForceType { ForceType.OTHER, ForceType.FRIENDLY, ForceType.OPPOSING, ForceType.NEUTRAL }
 
enum  ParameterTypes {
  ParameterTypes.POSITION = 1, ParameterTypes.POSITIONRATE = 2, ParameterTypes.EXTENSION = 3, ParameterTypes.EXTENSIONRATE = 4,
  ParameterTypes.X = 5, ParameterTypes.XRATE = 6, ParameterTypes.Y = 7, ParameterTypes.YRATE = 8,
  ParameterTypes.Z = 9, ParameterTypes.ZRATE = 10, ParameterTypes.AZIMUTH = 11, ParameterTypes.AZIMUTHRATE = 12,
  ParameterTypes.ELEVATION = 13, ParameterTypes.ELEVATIONRATE = 14, ParameterTypes.ROTATION = 15, ParameterTypes.ROTATIONRATE = 16
}
 
enum  WeaponState { WeaponState.NOWEAPON, WeaponState.STOWED, WeaponState.DEPLOYED, WeaponState.FIREPOSITION }
 
enum  ComplianceState {
  ComplianceState.NA, ComplianceState.DETAINED, ComplianceState.SURRENDER, ComplianceState.USING_FISTS,
  ComplianceState.VERBAL_ABUSE1, ComplianceState.VERBAL_ABUSE2, ComplianceState.VERBAL_ABUSE3, ComplianceState.PASSIVE_RESISTANCE1,
  ComplianceState.PASSIVE_RESISTANCE2, ComplianceState.PASSIVE_RESISTANCE3, ComplianceState.NON_LETHAL_WEAPON1, ComplianceState.NON_LETHAL_WEAPON2,
  ComplianceState.NON_LETHAL_WEAPON3, ComplianceState.NON_LETHAL_WEAPON4, ComplianceState.NON_LETHAL_WEAPON5, ComplianceState.NON_LETHAL_WEAPON6
}
 
enum  LightType {
  LightType.LIGHTS =12, LightType.HEAD_LIGHTS =12, LightType.FLASH_LIGHTS =12, LightType.LANDING_LIGHTS =12,
  LightType.RUNNING_LIGHTS =12, LightType.TAIL_LIGHTS =13, LightType.NAVIGATION_LIGHTS =13, LightType.ANTI_COLLISION_LIGHTS =14,
  LightType.BRAKE_LIGHTS =14, LightType.FORMATION_LIGHTS =24, LightType.BLACK_OUT_LIGHTS =26, LightType.BLACK_OUT_BRAKE_LIGHTS =27,
  LightType.SPOT_LIGHTS =28, LightType.EXTERIOR_LIGHTS =28, LightType.EXTERNAL_LIGHTS =28, LightType.INTERIOR_LIGHTS =29,
  LightType.INTERNAL_LIGHTS =29
}
 
enum  DamageState { DamageState.NONE, DamageState.SLIGHT, DamageState.MODERATE, DamageState.DESTROYED }
 
enum  LifeformState {
  LifeformState.NA, LifeformState.STANDING, LifeformState.WALKING, LifeformState.RUNNING,
  LifeformState.KNEELING, LifeformState.PRONE, LifeformState.CRAWLING, LifeformState.SWIMMING,
  LifeformState.PARACHUTING, LifeformState.JUMPING, LifeformState.SITTING, LifeformState.SQUATTING,
  LifeformState.CROUCHING, LifeformState.WADING, LifeformState.SURRENDERED, LifeformState.DETAINED
}
 
enum  HatchState {
  HatchState.NA, HatchState.CLOSED, HatchState.POPPED, HatchState.POPPEDANDPERSON,
  HatchState.OPEN, HatchState.OPENANDPERSON
}
 
enum  CamoflageType { CamoflageType.DESERT, CamoflageType.WINTER, CamoflageType.FOREST }
 

Public Member Functions

 EntityStateMessage ()
 
- Public Member Functions inherited from Message
 Message ()
 
virtual Byte[] encode ()
 

Public Attributes

const String theFullName ="EntityStateMessage"
 

Protected Member Functions

override int messageSize ()
 
override void serialize (ref BinaryWriter writer)
 
override void deserialize (ref BinaryReader reader)
 

Properties

static string theName [get]
 
string id [get, set]
 
string entityIdentifier [get, set]
 
EntityType type [get, set]
 
EntityType guise [get, set]
 
double lastSetTime [get, set]
 
Vector3d worldPosition [get, set]
 
Vector3f worldVelocity [get, set]
 
Vector3f worldAcceleration [get, set]
 
TaitBryan worldOrientation [get, set]
 
Vector3f rotationalVelocity [get, set]
 
DeadReckoningAlgorithm deadReckoningType [get, set]
 
ForceType forceType [get, set]
 
string markingText [get, set]
 
UInt32 appearanceBits [get, set]
 
UInt32 capabilityBits [get, set]
 
LifeformState lifeformState [get, set]
 
List< ArtPartArticulatedParts [get, set]
 
List< AttPartAttachedParts [get, set]
 
- Properties inherited from Message
String name [get]
 
double timeStamp [get, set]
 

Static Private Member Functions

static EntityStateMessage ()
 

Private Attributes

string myId = ""
 
string myEntityIdentifier = ""
 
EntityType myType =new EntityType()
 
EntityType myGuise =new EntityType()
 
double myLastSetTime
 
Vector3d myWorldPosition
 
Vector3f myWorldVelocity
 
Vector3f myWorldAcceleration
 
TaitBryan myWorldOrientation
 
Vector3f myRotationalVelocity
 
DeadReckoningAlgorithm myDeadReckoningType
 
ForceType myForceType
 
string myMarkingText = ""
 
UInt32 myAppearanceBits
 
UInt32 myCapabilityBits
 
LifeformState myLifeformState
 
List< ArtPartmyArticulatedParts =new List<ArtPart>()
 
List< AttPartmyAttachedParts =new List<AttPart>()
 

Additional Inherited Members

- Static Public Member Functions inherited from Message
static Message decode (ref Byte[] bytes)
 
- Static Protected Member Functions inherited from Message
static Message createMessage (ref byte[] b)
 
- Protected Attributes inherited from Message
String myName
 
double myTimeStamp = -1.0
 
Type myTypeInfo
 

Member Enumeration Documentation

Enumerator
DESERT 
WINTER 
FOREST 
Enumerator
NA 
DETAINED 
SURRENDER 
USING_FISTS 
VERBAL_ABUSE1 
VERBAL_ABUSE2 
VERBAL_ABUSE3 
PASSIVE_RESISTANCE1 
PASSIVE_RESISTANCE2 
PASSIVE_RESISTANCE3 
NON_LETHAL_WEAPON1 
NON_LETHAL_WEAPON2 
NON_LETHAL_WEAPON3 
NON_LETHAL_WEAPON4 
NON_LETHAL_WEAPON5 
NON_LETHAL_WEAPON6 
Enumerator
NONE 
SLIGHT 
MODERATE 
DESTROYED 
Enumerator
OTHER 
STATIC 
FPW 
RPW 
RVW 
FVW 
FPB 
RPB 
RVB 
FVB 
Enumerator
OTHER 
FRIENDLY 
OPPOSING 
NEUTRAL 
Enumerator
NA 
CLOSED 
POPPED 
POPPEDANDPERSON 
OPEN 
OPENANDPERSON 
Enumerator
NA 
STANDING 
WALKING 
RUNNING 
KNEELING 
PRONE 
CRAWLING 
SWIMMING 
PARACHUTING 
JUMPING 
SITTING 
SQUATTING 
CROUCHING 
WADING 
SURRENDERED 
DETAINED 
Enumerator
LIGHTS 
HEAD_LIGHTS 
FLASH_LIGHTS 
LANDING_LIGHTS 
RUNNING_LIGHTS 
TAIL_LIGHTS 
NAVIGATION_LIGHTS 
ANTI_COLLISION_LIGHTS 
BRAKE_LIGHTS 
FORMATION_LIGHTS 
BLACK_OUT_LIGHTS 
BLACK_OUT_BRAKE_LIGHTS 
SPOT_LIGHTS 
EXTERIOR_LIGHTS 
EXTERNAL_LIGHTS 
INTERIOR_LIGHTS 
INTERNAL_LIGHTS 
Enumerator
POSITION 
POSITIONRATE 
EXTENSION 
EXTENSIONRATE 
X 
XRATE 
Y 
YRATE 
Z 
ZRATE 
AZIMUTH 
AZIMUTHRATE 
ELEVATION 
ELEVATIONRATE 
ROTATION 
ROTATIONRATE 
Enumerator
NONE 
SMALL 
MEDIUM 
LARGE 
Enumerator
NOWEAPON 
STOWED 
DEPLOYED 
FIREPOSITION 

Constructor & Destructor Documentation

EntityStateMessage.EntityStateMessage ( )
inline

References Message.myName, and theFullName.

static EntityStateMessage.EntityStateMessage ( )
inlinestaticprivate

Member Function Documentation

override void EntityStateMessage.deserialize ( ref BinaryReader  reader)
inlineprotectedvirtual
override int EntityStateMessage.messageSize ( )
inlineprotectedvirtual
override void EntityStateMessage.serialize ( ref BinaryWriter  writer)
inlineprotectedvirtual

Member Data Documentation

UInt32 EntityStateMessage.myAppearanceBits
private

Referenced by deserialize(), and serialize().

List<ArtPart> EntityStateMessage.myArticulatedParts =new List<ArtPart>()
private

Referenced by messageSize(), and serialize().

List<AttPart> EntityStateMessage.myAttachedParts =new List<AttPart>()
private

Referenced by messageSize(), and serialize().

UInt32 EntityStateMessage.myCapabilityBits
private

Referenced by deserialize(), and serialize().

DeadReckoningAlgorithm EntityStateMessage.myDeadReckoningType
private

Referenced by deserialize(), and serialize().

string EntityStateMessage.myEntityIdentifier = ""
private

Referenced by deserialize(), messageSize(), and serialize().

ForceType EntityStateMessage.myForceType
private

Referenced by deserialize(), and serialize().

EntityType EntityStateMessage.myGuise =new EntityType()
private

Referenced by serialize().

string EntityStateMessage.myId = ""
private

Referenced by deserialize(), messageSize(), and serialize().

double EntityStateMessage.myLastSetTime
private

Referenced by deserialize(), and serialize().

LifeformState EntityStateMessage.myLifeformState
private

Referenced by deserialize(), and serialize().

string EntityStateMessage.myMarkingText = ""
private

Referenced by deserialize(), messageSize(), and serialize().

Vector3f EntityStateMessage.myRotationalVelocity
private
EntityType EntityStateMessage.myType =new EntityType()
private

Referenced by serialize().

Vector3f EntityStateMessage.myWorldAcceleration
private
TaitBryan EntityStateMessage.myWorldOrientation
private
Vector3d EntityStateMessage.myWorldPosition
private
Vector3f EntityStateMessage.myWorldVelocity
private
const String EntityStateMessage.theFullName ="EntityStateMessage"

Referenced by EntityStateMessage().

Property Documentation

UInt32 EntityStateMessage.appearanceBits
getset
List<ArtPart> EntityStateMessage.ArticulatedParts
getset
List<AttPart> EntityStateMessage.AttachedParts
getset
UInt32 EntityStateMessage.capabilityBits
getset
DeadReckoningAlgorithm EntityStateMessage.deadReckoningType
getset
string EntityStateMessage.entityIdentifier
getset
ForceType EntityStateMessage.forceType
getset
EntityType EntityStateMessage.guise
getset
string EntityStateMessage.id
getset
double EntityStateMessage.lastSetTime
getset
LifeformState EntityStateMessage.lifeformState
getset
string EntityStateMessage.markingText
getset
Vector3f EntityStateMessage.rotationalVelocity
getset
string EntityStateMessage.theName
staticget
EntityType EntityStateMessage.type
getset
Vector3f EntityStateMessage.worldAcceleration
getset
TaitBryan EntityStateMessage.worldOrientation
getset
Vector3d EntityStateMessage.worldPosition
getset
Vector3f EntityStateMessage.worldVelocity
getset

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)