libcyberradio  22.01.24
RadioHandler.h
1 /***************************************************************************
2  * \file RadioHandler.h
3  * \brief Defines the radio handler interface for the NDR810.
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_NDR810_RADIOHANDLER_H
12 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR810_RADIOHANDLER_H
13 
14 #include "LibCyberRadio/Driver/RadioHandler.h"
15 
16 
20 namespace LibCyberRadio
21 {
25  namespace Driver
26  {
27 
31  namespace NDR810
32  {
33 
179  {
180  public:
181  RadioHandler(bool debug = false);
182  virtual ~RadioHandler();
183  RadioHandler(const RadioHandler& other);
184  virtual RadioHandler& operator=(const RadioHandler& other);
185  // OVERRIDE
186  virtual void queryConfiguration();
187 
188  protected:
189  // OVERRIDE
190  virtual bool queryVersionInfo();
191  // OVERRIDE
192  virtual bool executeQueryIDN(std::string& model,
193  std::string& serialNumber);
194  // OVERRIDE
195  virtual bool executeQueryVER(std::string& softwareVersion,
196  std::string& firmwareVersion,
197  std::string& referenceVersion,
198  std::string& firmwareDate);
199  // OVERRIDE
200  virtual bool executeQueryHREV(std::string& hardwareInfo);
201 
202 
203  }; /* class RadioHandler */
204 
205  } /* namespace NDR810 */
206 
207  } /* namespace Driver */
208 
209 } /* namespace LibCyberRadio */
210 
211 #endif /* INCLUDED_LIBCYBERRADIO_DRIVER_NDR810_RADIOHANDLER_H */
virtual ~RadioHandler()
Destroys a RadioHandler object.
Radio handler class for the NDR810.
Definition: RadioHandler.h:178
virtual void queryConfiguration()
Tells the radio to query its hardware configuration in order to create its configuration dictionary (...
Generic radio handler class.
Definition: RadioHandler.h:54
virtual int debug(const char *format,...)
Outputs debug information.
Definition: Debuggable.cpp:95
Defines functionality for LibCyberRadio applications.
Definition: App.h:23