libcyberradio 22.01.24
RadioHandler.h
1/***************************************************************************
2 * \file RadioHandler.h
3 * \brief Defines the radio handler interface for the NDR308-TS.
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_NDR308TS_RADIOHANDLER_H
12#define INCLUDED_LIBCYBERRADIO_DRIVER_NDR308TS_RADIOHANDLER_H
13
14#include "LibCyberRadio/Driver/RadioHandler.h"
15
16
20namespace LibCyberRadio
21{
25 namespace Driver
26 {
27
31 namespace NDR308TS
32 {
33
174 class RadioHandler : public ::LibCyberRadio::Driver::RadioHandler
175 {
176 public:
177 RadioHandler(bool debug = false);
178 virtual ~RadioHandler();
179 RadioHandler(const RadioHandler& other);
180 virtual RadioHandler& operator=(const RadioHandler& other);
181 // OVERRIDE
182 virtual void queryConfiguration();
183
184 protected:
185 // OVERRIDE
186 virtual bool queryVersionInfo();
187 // OVERRIDE
188 virtual bool executeQueryIDN(std::string& model,
189 std::string& serialNumber);
190 // OVERRIDE
191 virtual bool executeQueryVER(std::string& softwareVersion,
192 std::string& firmwareVersion,
193 std::string& referenceVersion,
194 std::string& firmwareDate);
195 // OVERRIDE
196 virtual bool executeQueryHREV(std::string& hardwareInfo);
197
198
199 }; /* class RadioHandler */
200
201 } /* namespace NDR308TS */
202
203 } /* namespace Driver */
204
205} /* namespace LibCyberRadio */
206
207#endif /* INCLUDED_LIBCYBERRADIO_DRIVER_NDR308TS_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 ~RadioHandler()
Destroys a RadioHandler object.
Generic radio handler class.
Provides programming elements for driving NDR308-TS radios.
Definition DataPort.h:34
Provides programming elements for driving CRS NDR-class radios.
Defines functionality for LibCyberRadio applications.
Definition App.h:24