libcyberradio  22.01.24
DucComponent.h
1 /***************************************************************************
2  * \file DucComponent.h
3  * \brief Defines the DUC interface for the NDR651.
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_NDR651_DUCCOMPONENT_H
12 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR651_DUCCOMPONENT_H
13 
14 #include "LibCyberRadio/Driver/DucComponent.h"
15 #include "LibCyberRadio/Common/BasicDict.h"
16 #include <string>
17 
18 
22 namespace LibCyberRadio
23 {
27  namespace Driver
28  {
29  // Forward declaration for RadioHandler
30  class RadioHandler;
31 
35  namespace NDR651
36  {
37 
60  {
61  public:
81  DucComponent(int index = 1,
82  ::LibCyberRadio::Driver::RadioHandler* parent = NULL,
83  bool debug = false,
84  int dataPort = 0,
85  double frequency = 0.0,
86  double attenuation = 0.0,
87  int rateIndex = 0,
88  int txChannels = 0,
89  int mode = 0,
90  int streamId = 0);
94  virtual ~DucComponent();
99  DucComponent(const DucComponent& other);
105  virtual DucComponent& operator=(const DucComponent& other);
106 
107  }; // class DucComponent
108 
109  } /* namespace NDR651 */
110 
111  } // namespace Driver
112 
113 } // namespace LibCyberRadio
114 
115 
116 #endif // INCLUDED_LIBCYBERRADIO_DRIVER_NDR651_DUCCOMPONENT_H
virtual DucComponent & operator=(const DucComponent &other)
Assignment operator for DucComponent objects.
DUC component class for the NDR651.
Definition: DucComponent.h:59
Generic radio handler class.
Definition: RadioHandler.h:54
DucComponent(int index=1, ::LibCyberRadio::Driver::RadioHandler *parent=NULL, bool debug=false, int dataPort=0, double frequency=0.0, double attenuation=0.0, int rateIndex=0, int txChannels=0, int mode=0, int streamId=0)
Constructs a DucComponent object.
virtual int debug(const char *format,...)
Outputs debug information.
Definition: Debuggable.cpp:95
Defines functionality for LibCyberRadio applications.
Definition: App.h:23
virtual ~DucComponent()
Destroys a DucComponent object.
Base DUC component class.
Definition: DucComponent.h:65