uhd/lib/usrp/dboard/basic.cpp
Josh Blum 3b47904f24 Switched dboard ctor arguments with a tuple.
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.
2010-01-14 19:02:55 -08:00

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 */
}