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

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
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 deserialize(), messageSize(), and serialize().

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

Referenced by deserialize(), 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 deserialize(), and 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

Referenced by deserialize(), and serialize().

EntityType EntityStateMessage.myType = new EntityType()
private

Referenced by deserialize(), and serialize().

Vector3f EntityStateMessage.myWorldAcceleration
private

Referenced by deserialize(), and serialize().

TaitBryan EntityStateMessage.myWorldOrientation
private

Referenced by deserialize(), and serialize().

Vector3d EntityStateMessage.myWorldPosition
private

Referenced by deserialize(), and serialize().

Vector3f EntityStateMessage.myWorldVelocity
private

Referenced by deserialize(), and serialize().

const String EntityStateMessage.theFullName = "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 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)