libcyberradio  22.01.24
RadioHandler.h
1 /***************************************************************************
2  * \file RadioHandler.h
3  * \brief Defines the radio handler interface for the NDR551.
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_NDR324_RADIOHANDLER_H
12 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR324_RADIOHANDLER_H
13 
14 #include "LibCyberRadio/Driver/NDR551/RadioHandler.h"
15 #include <chrono>
16 
20 namespace LibCyberRadio
21 {
25  namespace Driver
26  {
27 
31  //namespace NDR551
32  //{
33  namespace NDR324
34  {
35 
181  {
182  public:
183  RadioHandler(bool debug = false);
184  virtual ~RadioHandler();
185  RadioHandler(const RadioHandler& other);
186  virtual RadioHandler& operator=(const RadioHandler& other);
187  // OVERRIDE
188  virtual void queryConfiguration();
192  uint32_t getMessageId( void );
193 
194  protected:
195  // OVERRIDE
196  virtual bool queryVersionInfo();
197  // OVERRIDE
198  virtual bool executeQueryIDN(std::string& model,
199  std::string& serialNumber);
200  // OVERRIDE
201  virtual bool executeQueryVER(std::string& softwareVersion,
202  std::string& firmwareVersion,
203  std::string& referenceVersion,
204  std::string& firmwareDate);
205  // OVERRIDE
206  virtual bool executeQueryHREV(std::string& hardwareInfo);
207  virtual bool executeReferenceModeQuery(int& refMode);
208  virtual bool executeReferenceModeCommand(int& refMode);
219  virtual void initConfigurationDict();
220  bool query324Specifics();
221 
222  }; /* class RadioHandler */
223 
224  } /* namespace NDR324 */
225  //}
226  } /* namespace Driver */
227 
228 } /* namespace LibCyberRadio */
229 
230 #endif /* INCLUDED_LIBCYBERRADIO_DRIVER_NDR551_RADIOHANDLER_H */
virtual ~RadioHandler()
Destroys a RadioHandler object.
virtual void queryConfiguration()
Tells the radio to query its hardware configuration in order to create its configuration dictionary (...
Radio handler class for the NDR551.
Definition: RadioHandler.h:180
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
uint32_t getMessageId(void)
Returns a Time for the msg parameter.
virtual void initConfigurationDict()
Initializes the configuration dictionary, defining the allowed keys.