libiio
Public Member Functions | List of all members
iio.XMLContext Class Reference
Inheritance diagram for iio.XMLContext:
Inheritance graph
[legend]
Collaboration diagram for iio.XMLContext:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, xmlfile)
 
- Public Member Functions inherited from iio.Context
 Context (string uri=null)
 Initializes a new instance of the iio.Context class, using the provided URI. More...
 
Context clone ()
 Clone this instance. More...
 
Device get_device (string name)
 Get the iio.Device object of the specified name. More...
 
void set_timeout (uint timeout)
 Set a timeout for I/O operations. More...
 
def __init__ (self, _context=None)
 
def __del__ (self)
 
def set_timeout (self, timeout)
 
def find_device (self, name_or_id_or_label)
 
- Public Member Functions inherited from iio._IIO_Object
def __init__ (self, hdl, parent)
 
def __eq__ (self, other)
 
- Public Member Functions inherited from iio.IIOObject
void Dispose ()
 Releases all resource used by the iio.IIOObject object. More...
 

Additional Inherited Members

- Public Attributes inherited from iio.Context
readonly string xml
 A XML representation of the current context. More...
 
readonly string name
 The name of the current context. More...
 
readonly string description
 Retrieve a human-readable information string about the current context. More...
 
readonly Version library_version
 Retrieve a information about the version context. More...
 
readonly List< Devicedevices
 A List of all the IIO devices present on the current context. More...
 
- Protected Member Functions inherited from iio.Context
override void Destroy ()
 
- Protected Member Functions inherited from iio.IIOObject
 IIOObject (IntPtr hdl)
 
- Properties inherited from iio.Context
Dictionary< string, string > attrs [get]
 A Dictionary of all the attributes of the current channel. (key, value) = (name, value) More...
 
 name
 
 description
 
 xml
 
 version
 
 attrs
 
 devices
 

Detailed Description

XML IIO Context.

Constructor & Destructor Documentation

◆ __init__()

def iio.XMLContext.__init__ (   self,
  xmlfile 
)
Initialize a new instance of the Context class, using the XML backend of the IIO library.

:param xmlfile: type=str
    Filename of the XML file to build the context from

returns: type=iio.XMLContext
    An new instance of this class

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