libcyberradio 22.01.24
VitaIfSpec.h
1/***************************************************************************
2 * \file VitaIfSpec.h
3 * \brief Defines the VITA interface specification for an NDR-class radio.
4 * \author DA
5 * \author NH
6 * \author MN
7 * \copyright (c) 2017 CyberRadio Solutions, Inc. All rights reserved.
8 *
9 ***************************************************************************/
10
11#ifndef INCLUDED_LIBCYBERRADIO_DRIVER_VITAIFSPEC_H
12#define INCLUDED_LIBCYBERRADIO_DRIVER_VITAIFSPEC_H
13
17namespace LibCyberRadio
18{
22 namespace Driver
23 {
33 class VitaIfSpec
34 {
35 public:
36 VitaIfSpec(int headerSizeWords = 0,
37 int payloadSizeWords = 0,
38 int tailSizeWords = 0,
39 const char* byteOrder = "little",
40 bool iqSwapped = false,
41 bool usesV491 = true);
42 virtual ~VitaIfSpec();
43 VitaIfSpec(const VitaIfSpec& other);
44 VitaIfSpec& operator=(const VitaIfSpec& other);
45
46 public:
54 const char* byteOrder;
59
60 };
61
62 } /* namespace Driver */
63
64} /* namespace LibCyberRadio */
65
66#endif /* INCLUDED_LIBCYBERRADIO_DRIVER_VITAIFSPEC_H */
bool usesV491
Whether the data packets use VITA 49.1 framing.
Definition VitaIfSpec.h:58
const char * byteOrder
Byte order used by the radio.
Definition VitaIfSpec.h:54
int headerSizeWords
Size of the VITA 49 header, in 32-byte words.
Definition VitaIfSpec.h:48
int payloadSizeWords
Size of the payload, in 32-byte words.
Definition VitaIfSpec.h:50
bool iqSwapped
Whether the I/Q data in the payload are swapped.
Definition VitaIfSpec.h:56
int tailSizeWords
Size of the VITA 49 "tail", in 32-byte words.
Definition VitaIfSpec.h:52
Provides programming elements for driving CRS NDR-class radios.
Defines functionality for LibCyberRadio applications.
Definition App.h:24