libcyberradio 22.01.24
RadioHandler.h
1/***************************************************************************
2 * \file RadioHandler.h
3 * \brief Defines the radio handler interface for the NDR472.
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_NDR472_RADIOHANDLER_H
12#define INCLUDED_LIBCYBERRADIO_DRIVER_NDR472_RADIOHANDLER_H
13
14#include "LibCyberRadio/Driver/RadioHandler.h"
15
16
20namespace LibCyberRadio
21{
25 namespace Driver
26 {
27
31 namespace NDR472
32 {
33
133 class RadioHandler : public ::LibCyberRadio::Driver::RadioHandler
134 {
135 public:
136 RadioHandler(bool debug = false);
137 virtual ~RadioHandler();
138 RadioHandler(const RadioHandler& other);
139 virtual RadioHandler& operator=(const RadioHandler& other);
140 // OVERRIDE
141 virtual void queryConfiguration();
142
143 protected:
144 // OVERRIDE
145 virtual void initConfigurationDict();
146 // OVERRIDE
147 virtual bool queryVersionInfo();
148 // OVERRIDE
149 virtual bool executeQueryIDN(std::string& model,
150 std::string& serialNumber);
151 // OVERRIDE
152 virtual bool executeQueryVER(std::string& softwareVersion,
153 std::string& firmwareVersion,
154 std::string& referenceVersion,
155 std::string& firmwareDate);
156 // OVERRIDE
157 virtual bool executeQueryHREV(std::string& hardwareInfo);
158
159
160 }; /* class RadioHandler */
161
162 } /* namespace NDR472 */
163
164 } /* namespace Driver */
165
166} /* namespace LibCyberRadio */
167
168#endif /* INCLUDED_LIBCYBERRADIO_DRIVER_NDR472_RADIOHANDLER_H */
virtual int debug(const char *format,...)
Outputs debug information.
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 NDR472 radios.
Provides programming elements for driving CRS NDR-class radios.
Defines functionality for LibCyberRadio applications.
Definition App.h:24