VR-Forces 4.0.4 Class Documentation
Classes | Namespaces | Enumerations | Functions
include/vrfutil/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, DtSensorTypeSpotReport = 5
}
 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 
DtSensorTypeSpotReport 

Function Documentation

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 Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)