C# bindings for libiio  1.0
C# bindings for libIIO
 All Classes Namespaces Functions Variables Enumerations Properties
iio.Attr Class Reference

iio.Attr class: Contains the representation of an iio_attr. More...

Public Member Functions

string read ()
 Read the value of this attribute as a string. More...
 
void write (string val)
 Set this attribute to the value contained in the string argument. More...
 
bool read_bool ()
 Read the value of this attribute as a bool. More...
 
double read_double ()
 Read the value of this attribute as a double. More...
 
long read_long ()
 Read the value of this attribute as a long. More...
 
void write (bool val)
 Set this attribute to the value contained in the bool argument. More...
 
void write (long val)
 Set this attribute to the value contained in the long argument. More...
 
void write (double val)
 Set this attribute to the value contained in the double argument. More...
 

Public Attributes

readonly string name
 The name of this attribute. More...
 
readonly string filename
 The filename in sysfs to which this attribute is bound. More...
 

Detailed Description

iio.Attr class: Contains the representation of an iio_attr.

Member Function Documentation

string iio.Attr.read ( )
inline

Read the value of this attribute as a string.

Exceptions
IioLib.IIOExceptionThe attribute could not be read.

Here is the caller graph for this function:

bool iio.Attr.read_bool ( )
inline

Read the value of this attribute as a bool.

Exceptions
IioLib.IIOExceptionThe attribute could not be read.

Here is the call graph for this function:

double iio.Attr.read_double ( )
inline

Read the value of this attribute as a double.

Exceptions
IioLib.IIOExceptionThe attribute could not be read.

Here is the call graph for this function:

long iio.Attr.read_long ( )
inline

Read the value of this attribute as a long.

Exceptions
IioLib.IIOExceptionThe attribute could not be read.

Here is the call graph for this function:

void iio.Attr.write ( string  val)
inline

Set this attribute to the value contained in the string argument.

Parameters
valThe string value to set the parameter to.
Exceptions
IioLib.IIOExceptionThe attribute could not be written.

Here is the caller graph for this function:

void iio.Attr.write ( bool  val)
inline

Set this attribute to the value contained in the bool argument.

Parameters
valThe bool value to set the parameter to.
Exceptions
IioLib.IIOExceptionThe attribute could not be written.

Here is the call graph for this function:

void iio.Attr.write ( long  val)
inline

Set this attribute to the value contained in the long argument.

Parameters
valThe long value to set the parameter to.
Exceptions
IioLib.IIOExceptionThe attribute could not be written.

Here is the call graph for this function:

void iio.Attr.write ( double  val)
inline

Set this attribute to the value contained in the double argument.

Parameters
valThe double value to set the parameter to.
Exceptions
IioLib.IIOExceptionThe attribute could not be written.

Here is the call graph for this function:

Member Data Documentation

readonly string iio.Attr.filename

The filename in sysfs to which this attribute is bound.

readonly string iio.Attr.name

The name of this attribute.


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