11 #include "LibCyberRadio/Driver/VitaIfSpec.h" 23 VitaIfSpec::VitaIfSpec(
int headerSizeWords,
26 const char* byteOrder,
29 headerSizeWords(headerSizeWords),
30 payloadSizeWords(payloadSizeWords),
31 tailSizeWords(tailSizeWords),
38 VitaIfSpec::~VitaIfSpec()
42 VitaIfSpec::VitaIfSpec(
const VitaIfSpec& other) :
43 headerSizeWords(other.headerSizeWords),
44 payloadSizeWords(other.payloadSizeWords),
45 tailSizeWords(other.tailSizeWords),
46 byteOrder(other.byteOrder),
47 iqSwapped(other.iqSwapped),
48 usesV491(other.usesV491)
52 VitaIfSpec& VitaIfSpec::operator=(
const VitaIfSpec& other)
bool iqSwapped
Whether the I/Q data in the payload are swapped.
const char * byteOrder
Byte order used by the radio.
Defines functionality for LibCyberRadio applications.
int payloadSizeWords
Size of the payload, in 32-byte words.
int headerSizeWords
Size of the VITA 49 header, in 32-byte words.
bool usesV491
Whether the data packets use VITA 49.1 framing.
int tailSizeWords
Size of the VITA 49 "tail", in 32-byte words.