libiio
Classes | Public Member Functions | List of all members
iiopp::Context Class Reference

C++ wrapper for the Context C-API. More...

#include <iiopp.h>

Inheritance diagram for iiopp::Context:
Inheritance graph
[legend]
Collaboration diagram for iiopp::Context:
Collaboration graph
[legend]

Classes

struct  Version
 

Public Member Functions

size_t size () const
 
Device operator[] (size_t i)
 
 Context (iio_context *ctx)
 
 operator iio_context * () const
 
std::shared_ptr< Contextclone () const
 
Device find_device (cstr name) const
 
std::pair< cstr, cstrattr (unsigned int idx) const
 
optstr attr_value (cstr name) const
 
unsigned int attrs_count () const
 
cstr description () const
 
Device device (unsigned int idx) const
 
unsigned int devices_count () const
 
cstr name () const
 
Version version () const
 
cstr xml () const
 
void set_timeout (unsigned int timeout_ms)
 
- Public Member Functions inherited from iiopp::impl::IndexedSequence< Context, Device >
Iterator begin ()
 
Iterator end ()
 

Detailed Description

C++ wrapper for the Context C-API.


The documentation for this class was generated from the following file: