11 #ifndef INCLUDED_LIBCYBERRADIO_DRIVER_NDR324_TUNERCOMPONENT_H 12 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR324_TUNERCOMPONENT_H 14 #include "LibCyberRadio/Driver/TunerComponent.h" 63 double frequency = 800e6,
64 double attenuation = 0.0,
84 bool executeCommand(
void );
105 #endif // INCLUDED_LIBCYBERRADIO_DRIVER_NDR324_TUNERCOMPONENT_H virtual ~TunerComponent()
Destroys a TunerComponent object.
bool setConfiguration(ConfigurationDict &cfg) override
Sets the configuration dictionary for this component.
void queryConfiguration()
Tells the component to query its hardware configuration in order to create its configuration dictiona...
bool executeFreqCommand(int index, double &freq) override
Executes the tuner frequency set command.
Tuner component class for the NDR324.
bool executeEnableCommand(int index, bool &enabled) override
Executes the tuner enable command.
TunerComponent(int index=1, ::LibCyberRadio::Driver::RadioHandler *parent=NULL, bool debug=false, double frequency=800e6, double attenuation=0.0, int filter=0)
Constructs a TunerComponent object.
Generic radio handler class.
bool executeAttenCommand(int index, double &atten) override
Executes the tuner attenuation set command.
virtual int debug(const char *format,...)
Outputs debug information.
Defines functionality for LibCyberRadio applications.
A configuration dictionary.
Base tuner component class.
void updateConfigurationDict() override
Updates the configuration dictionary from component settings.
void initConfigurationDict() override
Initializes the configuration dictionary, defining the allowed keys.
virtual TunerComponent & operator=(const TunerComponent &other)
Assignment operator for TunerComponent objects.