libcyberradio 22.01.24
RadioHandler.h
1/***************************************************************************
2 * \file RadioHandler.h
3 * \brief Defines the radio handler interface for the NDR651.
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_NDR651_RADIOHANDLER_H
12#define INCLUDED_LIBCYBERRADIO_DRIVER_NDR651_RADIOHANDLER_H
13
14#include "LibCyberRadio/Driver/RadioHandler.h"
15
16
20namespace LibCyberRadio
21{
25 namespace Driver
26 {
27
31 namespace NDR651
32 {
33
218 class RadioHandler : public ::LibCyberRadio::Driver::RadioHandler
219 {
220 public:
221 RadioHandler(bool debug = false);
222 virtual ~RadioHandler();
223 RadioHandler(const RadioHandler& other);
224 virtual RadioHandler& operator=(const RadioHandler& other);
225 // OVERRIDE
226 virtual void queryConfiguration();
227
228 protected:
229 // OVERRIDE
230 virtual bool queryVersionInfo();
231 // OVERRIDE
232 virtual bool executeQueryIDN(std::string& model,
233 std::string& serialNumber);
234 // OVERRIDE
235 virtual bool executeQueryVER(std::string& softwareVersion,
236 std::string& firmwareVersion,
237 std::string& referenceVersion,
238 std::string& firmwareDate);
239 // OVERRIDE
240 virtual bool executeQueryHREV(std::string& hardwareInfo);
241
242
243 }; /* class RadioHandler */
244
245 } /* namespace NDR651 */
246
247 } /* namespace Driver */
248
249} /* namespace LibCyberRadio */
250
251#endif /* INCLUDED_LIBCYBERRADIO_DRIVER_NDR651_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 NDR651 radios.
Provides programming elements for driving CRS NDR-class radios.
Defines functionality for LibCyberRadio applications.
Definition App.h:24