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;
virtual int debug(const char *format,...)
Outputs debug information.
A configuration dictionary.
bool executeFreqCommand(int index, double &freq) override
Executes the WBDDC frequency set command.
bool setRateIndex(int index) override
Sets the WBDDC's rate index.
bool executeWbddcCommand(int index, int &rateIndex, int &udpDestination, bool &enabled, int &vitaEnable, unsigned int &streamId) override
Executes the WBDDC configuration set command.
virtual WbddcComponent & operator=(const WbddcComponent &other)
Assignment operator for WbddcComponent objects.
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 setUdpDestination(int dest) override
Sets the WBDDC's UDP destination.
bool executeWbddcQuery(int index, int &rateIndex, int &udpDestination, bool &enabled, int &vitaEnable, unsigned int &streamId)
Execute a JSON wbddc Query.
void queryConfiguration() override
Tells the component to query its hardware configuration in order to create its configuration dictiona...
bool setFrequency(double freq) override
Sets the WBDDC tuned frequency.
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.
void initConfigurationDict() override
Setup Config Dict.
bool executeSourceCommand(int index, int &source) override
Executes the WBDDC source set command.
bool executeDataPortCommand(int index, int &dataPort) override
Executes the WBDDC data port set command.
virtual ~WbddcComponent()
Destroys a WbddcComponent object.
virtual void updateConfigurationDict() override
Updates the configuration dictionary from component settings.
Generic radio handler class.
Base WBDDC component class.
Provides programming elements for driving NDR551 radios.
Provides programming elements for driving CRS NDR-class radios.
Defines functionality for LibCyberRadio applications.