|
libiio
|
Public C++ interface. More...
#include <iio.h>#include <string>#include <boost/optional.hpp>#include <stdexcept>#include <system_error>#include <cassert>#include <memory>
Go to the source code of this file.
Namespaces | |
| iiopp | |
| Public C++ API. | |
Typedefs | |
| typedef optional< cstr > | iiopp::optstr |
Optional string, used for C-functions that return nullptr for "no value". | |
Functions | |
| std::shared_ptr< Context > | iiopp::impl::new_ctx (iio_context *ctx) |
| optstr | iiopp::impl::opt (char const *s) |
| std::string | iiopp::impl::err_str (int err) |
| void | iiopp::impl::err (int err, char const *ctx) |
| void | iiopp::impl::check (int ret, char const *ctx) |
| template<class T > | |
| T | iiopp::impl::check_n (T n, char const *s) |
| template<class obj_T , class attr_T , char const * find_attr_T> | |
| optional< attr_T > | iiopp::impl::attr (obj_T const *obj, cstr name) |
| template<class obj_T , class attr_T , char const * get_attr_T> | |
| optional< attr_T > | iiopp::impl::attr (obj_T const *obj, unsigned int idx) |
| std::shared_ptr< Context > | iiopp::create_from_uri (cstr uri) |
| C++ wrapper for iio_create_context_from_uri. | |
| std::shared_ptr< Context > | iiopp::create_default_context () |
| C++ wrapper for iio_create_default_context. | |
| std::shared_ptr< Context > | iiopp::create_local_context () |
| C++ wrapper for iio_create_local_context. | |
| std::shared_ptr< Context > | iiopp::create_network_context (cstr host) |
| C++ wrapper for iio_create_network_context. | |
| std::shared_ptr< Context > | iiopp::create_xml_context (cstr xml_file) |
| C++ wrapper for iio_create_xml_context. | |
| std::shared_ptr< Context > | iiopp::create_xml_context_mem (char const *xml, size_t len) |
| C++ wrapper for iio_create_xml_context_mem. | |
| std::shared_ptr< ScanContext > | iiopp::create_scan_context (optstr backend, int flags) |
| std::shared_ptr< ScanBlock > | iiopp::create_scan_block (optstr backend, int flags) |
| double | iiopp::value (Channel ch) |
| Reads the value of a channel by using "input" or "raw" attribute and applying "scale" and "offset" if available. More... | |
Public C++ interface.
1.8.13