VR-Engage  2.2
Loading...
Searching...
No Matches
rwRwrContactInfo.h File Reference
Include dependency graph for rwRwrContactInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DtRwRwrContactInfo
 

Typedefs

using DtRwRwrContactInfoList = DtRwTemplatedListPtr<DtRwRwrContactInfo, true>
 

Functions

VRFMESSAGES_DLL int getSize (const DtRwRwrContactInfo &info)
 
VRFMESSAGES_DLL char * encode (const DtRwRwrContactInfo &info, char *buffer)
 
VRFMESSAGES_DLL const char * decode (DtRwRwrContactInfo &info, const char *buffer)
 

Detailed Description

This file contains the DtRwRwrContactInfo class which represents detailed information about radar warning receiver contacts detected by aircraft electronic warfare systems. It includes positional data, signal characteristics, and emitter identification information.

Typedef Documentation

◆ DtRwRwrContactInfoList

using DtRwRwrContactInfoList = DtRwTemplatedListPtr<DtRwRwrContactInfo, true>

List type for storing multiple RWR contact information entries.

Function Documentation

◆ getSize()

VRFMESSAGES_DLL int getSize ( const DtRwRwrContactInfo & info)

Gets the number of bytes required to encode the RWR contact info.

Parameters
infoThe RWR contact info to calculate size for
Returns
The number of bytes required for encoding

Calculates the number of bytes required to encode the specified RWR contact info. Note that passing in a null pointer is valid and will return a size of zero.

References VRFMESSAGES_DLL.

◆ encode()

VRFMESSAGES_DLL char * encode ( const DtRwRwrContactInfo & info,
char * buffer )

Serializes the RWR contact info into a buffer.

Parameters
infoThe RWR contact info to encode
bufferThe buffer to serialize into
Returns
Pointer to the buffer after the serialization

Serializes the provided RWR contact info into the buffer. The buffer must have at least the number of bytes returned by getSize().

References VRFMESSAGES_DLL.

◆ decode()

VRFMESSAGES_DLL const char * decode ( DtRwRwrContactInfo & info,
const char * buffer )

Deserializes the buffer into RWR contact info.

Parameters
infoThe RWR contact info to populate
bufferThe buffer to deserialize from
Returns
Pointer to the buffer after the deserialization

Decodes data from the buffer into the provided RWR contact info object.

References VRFMESSAGES_DLL.