11 #ifndef INCLUDED_LIBCYBERRADIO_DRIVER_NDR324_WBDDCCOMPONENT_H 12 #define INCLUDED_LIBCYBERRADIO_DRIVER_NDR324_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_NDR324_WBDDCCOMPONENT_H bool executeDataPortCommand(int index, int &dataPort) override
Executes the WBDDC data port set command.
bool setUdpDestination(int dest) override
Sets the WBDDC's UDP destination.
bool executeSourceCommand(int index, int &source) override
Executes the WBDDC source set command.
virtual WbddcComponent & operator=(const WbddcComponent &other)
Assignment operator for WbddcComponent objects.
virtual ~WbddcComponent()
Destroys a WbddcComponent object.
bool executeWbddcCommand(int index, int &rateIndex, int &udpDestination, bool &enabled, int &vitaEnable, unsigned int &streamId) override
Executes the WBDDC configuration set command.
bool setRateIndex(int index) override
Sets the WBDDC's rate index.
bool setFrequency(double freq) override
Sets the WBDDC tuned frequency.
bool setSource(int source) override
Sets the WBDDC's source (which tuner is supplying the signal).
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.
bool executeFreqCommand(int index, double &freq) override
Executes the WBDDC frequency set command.
Generic radio handler class.
virtual int debug(const char *format,...)
Outputs debug information.
virtual bool setConfiguration(ConfigurationDict &cfg) override
Sets the configuration dictionary for this component.
Defines functionality for LibCyberRadio applications.
WBDDC component class for the NDR324.
Base WBDDC component class.
A configuration dictionary.
bool executeWbddcQuery(int index, int &rateIndex, int &udpDestination, bool &enabled, int &vitaEnable, unsigned int &streamId)
Execute a JSON wbddc Query.
virtual void updateConfigurationDict() override
Updates the configuration dictionary from component settings.
void initConfigurationDict() override
Setup Config Dict.
void queryConfiguration() override
Tells the component to query its hardware configuration in order to create its configuration dictiona...