23#include <boost/shared_ptr.hpp>
27#include <boost/thread/mutex.hpp>
31typedef std::shared_ptr<xtrx_obj> xtrx_obj_sptr;
36 xtrx_obj(
const std::string& path,
unsigned loglevel,
bool lmsreset);
41 static xtrx_obj_sptr
get(
const char* xtrx_dev,
49 double set_smaplerate(
double rate,
double master,
bool sink,
unsigned flags);
unsigned dev_count()
Definition xtrx_obj.h:47
static xtrx_obj_sptr get(const char *xtrx_dev, unsigned loglevel, bool lmsreset)
unsigned _flags
Definition xtrx_obj.h:64
double set_smaplerate(double rate, double master, bool sink, unsigned flags)
double _source_master
Definition xtrx_obj.h:62
double _sink_rate
Definition xtrx_obj.h:59
boost::mutex mtx
Definition xtrx_obj.h:53
bool _run
Definition xtrx_obj.h:56
double _sink_master
Definition xtrx_obj.h:60
xtrx_obj(const std::string &path, unsigned loglevel, bool lmsreset)
static std::vector< std::string > get_devices()
xtrx_dev * dev()
Definition xtrx_obj.h:46
void set_vio(unsigned vio)
Definition xtrx_obj.h:51
xtrx_dev * _obj
Definition xtrx_obj.h:55
unsigned _vio
Definition xtrx_obj.h:57
double _source_rate
Definition xtrx_obj.h:61
unsigned _devices
Definition xtrx_obj.h:65