11 #ifndef INCLUDED_LIBCYBERRADIO_DRIVER_NDR551_WBDDCCOMPONENT_H 12 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR551_WBDDCCOMPONENT_H 14 #include "LibCyberRadio/Driver/WbddcComponent.h" 15 #include "LibCyberRadio/Common/BasicDict.h" 71 int udpDestination = 0,
104 int& udpDestination,
bool& enabled,
int& vitaEnable,
105 unsigned int& streamId);
119 int& udpDestination,
bool& enabled,
int& vitaEnable,
120 unsigned int& streamId)
override;
160 #endif // INCLUDED_LIBCYBERRADIO_DRIVER_NDR551_WBDDCCOMPONENT_H virtual void updateConfigurationDict() override
Updates the configuration dictionary from component settings.
virtual WbddcComponent & operator=(const WbddcComponent &other)
Assignment operator for WbddcComponent objects.
bool setUdpDestination(int dest) override
Sets the WBDDC's UDP destination.
bool executeFreqCommand(int index, double &freq) override
Executes the WBDDC frequency set command.
bool executeSourceCommand(int index, int &source) override
Executes the WBDDC source set command.
void initConfigurationDict() override
Setup Config Dict.
WbddcComponent(int index=1, ::LibCyberRadio::Driver::RadioHandler *parent=NULL, bool debug=false, int dataPort=1, int rateIndex=0, int udpDestination=0, int vitaEnable=0, int streamId=0)
Constructs a WbddcComponent object.
virtual bool setConfiguration(ConfigurationDict &cfg) override
Sets the configuration dictionary for this component.
bool setSource(int source) override
Sets the WBDDC's source (which tuner is supplying the signal).
bool executeWbddcCommand(int index, int &rateIndex, int &udpDestination, bool &enabled, int &vitaEnable, unsigned int &streamId) override
Executes the WBDDC configuration set command.
Generic radio handler class.
virtual int debug(const char *format,...)
Outputs debug information.
WBDDC component class for the NDR551.
bool setRateIndex(int index) override
Sets the WBDDC's rate index.
Defines functionality for LibCyberRadio applications.
Base WBDDC component class.
A configuration dictionary.
virtual ~WbddcComponent()
Destroys a WbddcComponent object.
void queryConfiguration() override
Tells the component to query its hardware configuration in order to create its configuration dictiona...
bool executeDataPortCommand(int index, int &dataPort) override
Executes the WBDDC data port set command.
bool executeWbddcQuery(int index, int &rateIndex, int &udpDestination, bool &enabled, int &vitaEnable, unsigned int &streamId)
Execute a JSON wbddc Query.
bool setFrequency(double freq) override
Sets the WBDDC tuned frequency.