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_NDR358_RADIOHANDLER_H
12#define INCLUDED_LIBCYBERRADIO_DRIVER_NDR358_RADIOHANDLER_H
13
14#include "LibCyberRadio/Driver/NDR551/RadioHandler.h"
15#include <chrono>
16
20namespace LibCyberRadio
21{
25 namespace Driver
26 {
27
31 //namespace NDR551
32 //{
33 namespace NDR358
34 {
35
180 class RadioHandler : public ::LibCyberRadio::Driver::RadioHandler
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 query358Specifics();
221
222 }; /* class RadioHandler */
223
224 } /* namespace NDR358 */
225 //}
226 } /* namespace Driver */
227
228} /* namespace LibCyberRadio */
229
230#endif /* INCLUDED_LIBCYBERRADIO_DRIVER_NDR551_RADIOHANDLER_H */
virtual int debug(const char *format,...)
Outputs debug information.
uint32_t getMessageId(void)
Returns a Time for the msg parameter.
virtual void queryConfiguration()
Tells the radio to query its hardware configuration in order to create its configuration dictionary (...
virtual void initConfigurationDict()
Initializes the configuration dictionary, defining the allowed keys.
virtual ~RadioHandler()
Destroys a RadioHandler object.
Generic radio handler class.
Provides programming elements for driving NDR551 radios.
Provides programming elements for driving CRS NDR-class radios.
Defines functionality for LibCyberRadio applications.
Definition App.h:24