![]() |
VR-Forces Developer's Guide
|
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 |
|
inline |
Constructs a default-initialized radio transmitter state data object.
|
inline |
Copy constructor; performs a deep copy of the modulation parameters buffer.
References myModulationParams, and myModulationParamsSize.
|
inlinevirtual |
Destructor; frees the heap-allocated modulation parameters buffer.
|
inline |
Assignment operator; performs a deep copy of the modulation parameters buffer.
References myAntennaPatternType, myModulationParams, myModulationParamsSize, myPseudoNoiseInUse, myRadioId, myRelativeAntennaLoc, myTimeHopInUse, and myWorldAntennaLoc.
|
inline |
Returns the raw modulation parameters buffer, or null if not set.
|
inline |
Returns the size in bytes of the modulation parameters buffer.
|
inline |
Sets the modulation parameters by copying l bytes from p into a heap-allocated buffer.
| p | Source data pointer; pass null to clear the buffer. |
| l | Number of bytes to copy. |
|
protected |
Heap-allocated raw modulation parameters buffer; null if not set.
Referenced by DtRadioTransmitterStateComponentData(), and operator=().
Size in bytes of myModulationParams; zero when the buffer is null.
Referenced by DtRadioTransmitterStateComponentData(), and operator=().
|
protected |
Antenna position in world coordinates.
Referenced by operator=().
|
protected |
Antenna position relative to the entity body frame.
Referenced by operator=().
DIS antenna pattern type code.
Referenced by operator=().
|
protected |
True if pseudo-noise spread-spectrum is in use.
Referenced by operator=().
|
protected |
True if time-hop spread-spectrum is in use.
Referenced by operator=().
|
protected |
Unique radio identifier.
Referenced by operator=().