UHD  003.001.002
Classes | Namespaces | Macros | Typedefs
props.hpp File Reference
#include <uhd/config.hpp>
#include <uhd/wax.hpp>
#include <uhd/exception.hpp>
#include <vector>
#include <string>

Go to the source code of this file.

Classes

struct  uhd::named_prop_t
 

Namespaces

 uhd
 

Macros

#define UHD_THROW_PROP_GET_ERROR()   throw uhd::key_error(UHD_THROW_SITE_INFO("cannot get this property"))
 
#define UHD_THROW_PROP_SET_ERROR()   throw uhd::key_error(UHD_THROW_SITE_INFO("cannot set this property"))
 

Typedefs

typedef std::vector< std::string > uhd::prop_names_t
 The type for a vector of property names. More...
 

Macro Definition Documentation

◆ UHD_THROW_PROP_GET_ERROR

#define UHD_THROW_PROP_GET_ERROR ( )    throw uhd::key_error(UHD_THROW_SITE_INFO("cannot get this property"))

Throw when getting a not-implemented or write-only property. Throw-site information will be included with this error.

◆ UHD_THROW_PROP_SET_ERROR

#define UHD_THROW_PROP_SET_ERROR ( )    throw uhd::key_error(UHD_THROW_SITE_INFO("cannot set this property"))

Throw when setting a not-implemented or read-only property. Throw-site information will be included with this error.