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);
148 #endif // INCLUDED_LIBCYBERRADIO_DRIVER_RADIOCOMPONENT_H virtual void updateConfigurationDict()
Updates the configuration dictionary from component settings.
RadioComponent(const std::string &name="<unknown>", int index=0, RadioHandler *parent=NULL, bool debug=false)
Constructs a RadioComponent object.
Base hardware component class.
virtual bool setConfiguration(ConfigurationDict &cfg)
Sets the configuration dictionary for this component.
virtual RadioComponent & operator=(const RadioComponent &other)
Assignment operator for RadioComponent objects.
virtual bool isEnabled() const
Gets whether or not the component is enabled.
virtual void setIndex(int index)
Sets the index number of the component.
virtual bool enable(bool enabled=true)
Enables this component.
Generic radio handler class.
virtual int debug(const char *format,...)
Outputs debug information.
virtual void initConfigurationDict()
Initializes the configuration dictionary, defining the allowed keys.
Defines functionality for LibCyberRadio applications.
A configuration dictionary.
virtual bool disable()
Disables this component.
virtual RadioHandler * getParent() const
Gets the "parent" radio handler for this component.
virtual int getIndex() const
Gets the index number of the component.
virtual void queryConfiguration()
Tells the component to query its hardware configuration in order to create its configuration dictiona...
Base configurable object class.
virtual void setParent(RadioHandler *parent)
Sets the "parent" radio handler for this component.
virtual ~RadioComponent()
Destroys a RadioComponent object.