mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-16 21:10:10 +00:00
Sub-classes only need to pass the single argument, makes implementation cleaner. Added a dboard registry and api for the manager. This way, one could externally register custom dboard from the api.
43 lines
945 B
C++
43 lines
945 B
C++
//
|
|
// Copyright 2010 Ettus Research LLC
|
|
//
|
|
|
|
#include "dboards.hpp"
|
|
|
|
/***********************************************************************
|
|
* Basic RX dboard
|
|
**********************************************************************/
|
|
basic_rx::basic_rx(ctor_args_t const& args) : rx_base(args){
|
|
/* NOP */
|
|
}
|
|
|
|
basic_rx::~basic_rx(void){
|
|
/* NOP */
|
|
}
|
|
|
|
void basic_rx::rx_get(const wax::type &, wax::type &){
|
|
/* TODO */
|
|
}
|
|
|
|
void basic_rx::rx_set(const wax::type &, const wax::type &){
|
|
/* TODO */
|
|
}
|
|
|
|
/***********************************************************************
|
|
* Basic TX dboard
|
|
**********************************************************************/
|
|
basic_tx::basic_tx(ctor_args_t const& args) : tx_base(args){
|
|
/* NOP */
|
|
}
|
|
|
|
basic_tx::~basic_tx(void){
|
|
/* NOP */
|
|
}
|
|
|
|
void basic_tx::tx_get(const wax::type &, wax::type &){
|
|
/* TODO */
|
|
}
|
|
|
|
void basic_tx::tx_set(const wax::type &, const wax::type &){
|
|
/* TODO */
|
|
}
|