11#ifndef INCLUDED_LIBCYBERRADIO_DRIVER_RADIOCOMPONENT_H
12#define INCLUDED_LIBCYBERRADIO_DRIVER_RADIOCOMPONENT_H
14#include "LibCyberRadio/Driver/Configurable.h"
104 virtual bool enable(
bool enabled =
true);
virtual int debug(const char *format,...)
Outputs debug information.
Configurable(const std::string &name="<unknown>", bool debug=false)
Constructs a Configurable object.
A configuration dictionary.
virtual bool enable(bool enabled=true)
Enables this component.
virtual bool setConfiguration(ConfigurationDict &cfg)
Sets the configuration dictionary for this component.
virtual int getIndex() const
Gets the index number of the component.
virtual void setIndex(int index)
Sets the index number of the component.
virtual void queryConfiguration()
Tells the component to query its hardware configuration in order to create its configuration dictiona...
virtual bool isEnabled() const
Gets whether or not the component is enabled.
virtual ~RadioComponent()
Destroys a RadioComponent object.
virtual void updateConfigurationDict()
Updates the configuration dictionary from component settings.
virtual RadioComponent & operator=(const RadioComponent &other)
Assignment operator for RadioComponent objects.
RadioComponent(const std::string &name="<unknown>", int index=0, RadioHandler *parent=NULL, bool debug=false)
Constructs a RadioComponent object.
virtual void initConfigurationDict()
Initializes the configuration dictionary, defining the allowed keys.
virtual RadioHandler * getParent() const
Gets the "parent" radio handler for this component.
virtual bool disable()
Disables this component.
virtual void setParent(RadioHandler *parent)
Sets the "parent" radio handler for this component.
Generic radio handler class.
Provides programming elements for driving CRS NDR-class radios.
Defines functionality for LibCyberRadio applications.