VR-Forces 4.2 Class Documentation
Classes | Namespaces | Enumerations | Functions
rwSensorContactInfo.h File Reference

Go to the source code of this file.

Classes

class  DtRwSensorContactInfo
 This class represents the data gathered by a sensor about a particular single sensor contact. More...

Namespaces

namespace  DtBufferSerialize
 This namespace contains a set of utility functions for encoding and decoding various data types to/from a byte array.

Enumerations

enum  DtCIDLevelType {
  LEVEL_N0_DETECTION = 0, LEVEL_DETECTED, LEVEL_CLASSIFIED, LEVEL_IDENTIFIED,
  LEVEL_FULL_KNOWLEDGE
}
 Enumeration describing the levels of combat identification. More...
enum  DtSensorTypeEnum {
  DtSensorTypeUnknown = 0, DtSensorTypeVisual = 1, DtSensorTypeRadar = 2, DtSensorTypeSonar = 3,
  DtSensorTypeInfrared = 4, DtSensorTypePassiveSonar = 5, DtSensorTypeActiveSonar = 6, DtSensorTypeSpotReport = 7,
  DtSensorTypeMAD = 8
}
 Enumeration describing the source of the contact information. More...

Functions

DT_DLL_vrfutil bool mergeContactInfo (DtRwSensorContactInfo &info, const DtRwSensorContactInfo &sourceInfo)
 Merges data from sourceInfo into info, based on the time of contact in each, and the detection level of each.
DT_DLL_vrfutil int DtBufferSerialize::getSize (const DtRwSensorContactInfo &data)
 The number of bytes required to encode the value.
DT_DLL_vrfutil char * DtBufferSerialize::encode (const DtRwSensorContactInfo &data, char *buffer)
 Serializes the provided value data into buffer.
DT_DLL_vrfutil const char * DtBufferSerialize::decode (DtRwSensorContactInfo &data, const char *buffer)
 Decodes a value from buffer and places the result in data of the type specified by data.

Detailed Description

Enumeration Type Documentation

Enumeration describing the levels of combat identification.

Enumerator:
LEVEL_N0_DETECTION 
LEVEL_DETECTED 
LEVEL_CLASSIFIED 
LEVEL_IDENTIFIED 
LEVEL_FULL_KNOWLEDGE 

Enumeration describing the source of the contact information.

Enumerator:
DtSensorTypeUnknown 
DtSensorTypeVisual 
DtSensorTypeRadar 
DtSensorTypeSonar 
DtSensorTypeInfrared 
DtSensorTypePassiveSonar 
DtSensorTypeActiveSonar 
DtSensorTypeSpotReport 
DtSensorTypeMAD 

Function Documentation

DT_DLL_vrfutil bool mergeContactInfo ( DtRwSensorContactInfo info,
const DtRwSensorContactInfo sourceInfo 
)

Merges data from sourceInfo into info, based on the time of contact in each, and the detection level of each.

The resulting data in info will be the most accurate data available from the two contact infos.

Returns
True if info was changed by this call.

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)