libcyberradio  22.01.24
CWToneGenComponent.h
1 /***************************************************************************
2  * \file CWToneGenComponent.h
3  * \brief Defines the Continuous-wave (CW) tone generator interface
4  * for the NDR651.
5  * \author DA
6  * \author NH
7  * \author MN
8  * \copyright (c) 2017 CyberRadio Solutions, Inc. All rights reserved.
9  *
10  ***************************************************************************/
11 
12 #ifndef INCLUDED_LIBCYBERRADIO_DRIVER_NDR651_CWTONEGENCOMPONENT_H
13 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR651_CWTONEGENCOMPONENT_H
14 
15 #include "LibCyberRadio/Driver/CWToneGenComponent.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 
48  {
49  public:
65  CWToneGenComponent(int index = 0,
66  RadioHandler* parent = NULL,
67  bool debug = false,
68  int txIndex = 0,
69  double frequency = 0.0,
70  double amplitude = 0.0,
71  double phase = 0.0,
72  double sweepStart = 0.0,
73  double sweepStop = 0.0,
74  double sweepStep = 0.0,
75  double dwellTime = 0.0
76  );
80  virtual ~CWToneGenComponent();
91  virtual CWToneGenComponent& operator=(const CWToneGenComponent& other);
92 
93  }; // class CWToneGenComponent
94 
95  } // namespace NDR651
96 
97  } // namespace Driver
98 
99 } // namespace LibCyberRadio
100 
101 
102 #endif // INCLUDED_LIBCYBERRADIO_DRIVER_NDR651_CWTONEGENCOMPONENT_H
Continuous-wave (CW) tone generator component class for the NDR651.
virtual ~CWToneGenComponent()
Destroys a CWToneGenComponent object.
virtual CWToneGenComponent & operator=(const CWToneGenComponent &other)
Assignment operator for CWToneGenComponent objects.
virtual int debug(const char *format,...)
Outputs debug information.
Definition: Debuggable.cpp:95
CWToneGenComponent(int index=0, RadioHandler *parent=NULL, bool debug=false, int txIndex=0, double frequency=0.0, double amplitude=0.0, double phase=0.0, double sweepStart=0.0, double sweepStop=0.0, double sweepStep=0.0, double dwellTime=0.0)
Constructs a CWToneGenComponent object.
Defines functionality for LibCyberRadio applications.
Definition: App.h:23
Radio handler class for the NDR651.
Definition: RadioHandler.h:218
Base continuous-wave (CW) tone generator component class.