VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
makVrf::DtRadioTransmitterStateComponentData Struct Reference

Data container for radio transmitter state, including antenna location, modulation parameters, and spread-spectrum flags.

Public Types

enum  RadioInputSource {
  RadioInputOther, Pilot, CoPilot, FirstOfficer,
  Driver, Loader, Gunner, Commander,
  DigitalDataDevice, Intercom
}
 

Public Member Functions

 DtRadioTransmitterStateComponentData ()
 
 DtRadioTransmitterStateComponentData (const DtRadioTransmitterStateComponentData &orig)
 
virtual ~DtRadioTransmitterStateComponentData ()
 
DtRadioTransmitterStateComponentData & operator= (const DtRadioTransmitterStateComponentData &orig)
 
const char * modulationParams () const
 
const unsigned char & modulationParamsSize () const
 
void setModulationParams (const char *p, unsigned char l)
 

Protected Attributes

char * myModulationParams
 
unsigned char myModulationParamsSize
 
DtVector myWorldAntennaLoc
 
DtVector myRelativeAntennaLoc
 
unsigned int myAntennaPatternType
 
bool myPseudoNoiseInUse
 
bool myTimeHopInUse
 
UInt64 myRadioId
 

Member Enumeration Documentation

Source of radio input as defined by the DIS standard enumeration.

Enumerator
RadioInputOther 
Pilot 
CoPilot 
FirstOfficer 
Driver 
Loader 
Gunner 
Commander 
DigitalDataDevice 
Intercom 

Constructor & Destructor Documentation

makVrf::DtRadioTransmitterStateComponentData::DtRadioTransmitterStateComponentData ( )
inline

Constructs a default-initialized radio transmitter state data object.

makVrf::DtRadioTransmitterStateComponentData::DtRadioTransmitterStateComponentData ( const DtRadioTransmitterStateComponentData &  orig)
inline

Copy constructor; performs a deep copy of the modulation parameters buffer.

References myModulationParams, and myModulationParamsSize.

virtual makVrf::DtRadioTransmitterStateComponentData::~DtRadioTransmitterStateComponentData ( )
inlinevirtual

Destructor; frees the heap-allocated modulation parameters buffer.

Member Function Documentation

DtRadioTransmitterStateComponentData& makVrf::DtRadioTransmitterStateComponentData::operator= ( const DtRadioTransmitterStateComponentData &  orig)
inline

Assignment operator; performs a deep copy of the modulation parameters buffer.

References myAntennaPatternType, myModulationParams, myModulationParamsSize, myPseudoNoiseInUse, myRadioId, myRelativeAntennaLoc, myTimeHopInUse, and myWorldAntennaLoc.

const char* makVrf::DtRadioTransmitterStateComponentData::modulationParams ( ) const
inline

Returns the raw modulation parameters buffer, or null if not set.

const unsigned char& makVrf::DtRadioTransmitterStateComponentData::modulationParamsSize ( ) const
inline

Returns the size in bytes of the modulation parameters buffer.

void makVrf::DtRadioTransmitterStateComponentData::setModulationParams ( const char *  p,
unsigned char  l 
)
inline

Sets the modulation parameters by copying l bytes from p into a heap-allocated buffer.

Parameters
pSource data pointer; pass null to clear the buffer.
lNumber of bytes to copy.

Member Data Documentation

char* makVrf::DtRadioTransmitterStateComponentData::myModulationParams
protected

Heap-allocated raw modulation parameters buffer; null if not set.

Referenced by DtRadioTransmitterStateComponentData(), and operator=().

unsigned char makVrf::DtRadioTransmitterStateComponentData::myModulationParamsSize
protected

Size in bytes of myModulationParams; zero when the buffer is null.

Referenced by DtRadioTransmitterStateComponentData(), and operator=().

DtVector makVrf::DtRadioTransmitterStateComponentData::myWorldAntennaLoc
protected

Antenna position in world coordinates.

Referenced by operator=().

DtVector makVrf::DtRadioTransmitterStateComponentData::myRelativeAntennaLoc
protected

Antenna position relative to the entity body frame.

Referenced by operator=().

unsigned int makVrf::DtRadioTransmitterStateComponentData::myAntennaPatternType
protected

DIS antenna pattern type code.

Referenced by operator=().

bool makVrf::DtRadioTransmitterStateComponentData::myPseudoNoiseInUse
protected

True if pseudo-noise spread-spectrum is in use.

Referenced by operator=().

bool makVrf::DtRadioTransmitterStateComponentData::myTimeHopInUse
protected

True if time-hop spread-spectrum is in use.

Referenced by operator=().

UInt64 makVrf::DtRadioTransmitterStateComponentData::myRadioId
protected

Unique radio identifier.

Referenced by operator=().


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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)