|
UHD
003.003.002
|
#include <dboard_manager.hpp>
Public Types | |
| typedef boost::shared_ptr < dboard_manager > | sptr |
| typedef dboard_base::sptr(* | dboard_ctor_t )(dboard_base::ctor_args_t) |
Public Member Functions | |
| virtual prop_names_t | get_rx_subdev_names (void)=0 |
| virtual prop_names_t | get_tx_subdev_names (void)=0 |
| virtual wax::obj | get_rx_subdev (const std::string &subdev_name)=0 |
| virtual wax::obj | get_tx_subdev (const std::string &subdev_name)=0 |
Static Public Member Functions | |
| static void | populate_prop_tree_from_subdev (property_tree::sptr subtree, wax::obj subdev) |
| It does what it says... | |
| static void | register_dboard (const dboard_id_t &dboard_id, dboard_ctor_t dboard_ctor, const std::string &name, const prop_names_t &subdev_names=prop_names_t(1,"0")) |
| static void | register_dboard (const dboard_id_t &rx_dboard_id, const dboard_id_t &tx_dboard_id, dboard_ctor_t dboard_ctor, const std::string &name, const prop_names_t &subdev_names=prop_names_t(1,"0")) |
| static sptr | make (dboard_id_t rx_dboard_id, dboard_id_t tx_dboard_id, dboard_iface::sptr iface) |
A daughter board subdev dboard_manager class. Create subdev instances for each subdev on a dboard. Provide wax::obj access to the subdevs inside.
| typedef boost::shared_ptr<dboard_manager> uhd::usrp::dboard_manager::sptr |
| virtual wax::obj uhd::usrp::dboard_manager::get_rx_subdev | ( | const std::string & | subdev_name | ) | [pure virtual] |
| virtual prop_names_t uhd::usrp::dboard_manager::get_rx_subdev_names | ( | void | ) | [pure virtual] |
| virtual wax::obj uhd::usrp::dboard_manager::get_tx_subdev | ( | const std::string & | subdev_name | ) | [pure virtual] |
| virtual prop_names_t uhd::usrp::dboard_manager::get_tx_subdev_names | ( | void | ) | [pure virtual] |
| static sptr uhd::usrp::dboard_manager::make | ( | dboard_id_t | rx_dboard_id, |
| dboard_id_t | tx_dboard_id, | ||
| dboard_iface::sptr | iface | ||
| ) | [static] |
Make a new dboard manager.
| rx_dboard_id | the id of the rx dboard |
| tx_dboard_id | the id of the tx dboard |
| iface | the custom dboard interface |
| static void uhd::usrp::dboard_manager::populate_prop_tree_from_subdev | ( | property_tree::sptr | subtree, |
| wax::obj | subdev | ||
| ) | [static] |
It does what it says...
| static void uhd::usrp::dboard_manager::register_dboard | ( | const dboard_id_t & | dboard_id, |
| dboard_ctor_t | dboard_ctor, | ||
| const std::string & | name, | ||
| const prop_names_t & | subdev_names = prop_names_t(1,"0") |
||
| ) | [static] |
Register a rx or tx dboard into the system. For single subdevice boards, omit subdev_names.
| dboard_id | the dboard id (rx or tx) |
| dboard_ctor | the dboard constructor function pointer |
| name | the canonical name for the dboard represented |
| subdev_names | the names of the subdevs on this dboard |
| static void uhd::usrp::dboard_manager::register_dboard | ( | const dboard_id_t & | rx_dboard_id, |
| const dboard_id_t & | tx_dboard_id, | ||
| dboard_ctor_t | dboard_ctor, | ||
| const std::string & | name, | ||
| const prop_names_t & | subdev_names = prop_names_t(1,"0") |
||
| ) | [static] |
Register an xcvr dboard into the system. For single subdevice boards, omit subdev_names.
| rx_dboard_id | the rx unit dboard id |
| tx_dboard_id | the tx unit dboard id |
| dboard_ctor | the dboard constructor function pointer |
| name | the canonical name for the dboard represented |
| subdev_names | the names of the subdevs on this dboard |
1.7.6.1