gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
IIOChannel.H File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include "Debug.H"
Include dependency graph for IIOChannel.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IIODebug
 
class  IIOChannel
 

Macros

#define IIO_BAD_DEVICE_NAME_ERROR   IIO_ERROR_OFFSET-1
 Error when the specified device name is bad or can't be found. More...
 
#define IIO_BAD_DEVICE_TRIGGER_ERROR   IIO_ERROR_OFFSET-2
 Error when the specified trigger doesn't exist. More...
 
#define IIO_BAD_CH_ARRAY_ERROR   IIO_ERROR_OFFSET-3
 Error when the channel array can't be built or populated. More...
 
#define IIODEVICE_FILE_OPEN_ERROR   IIO_ERROR_OFFSET-4
 Error when trying to open an IIODevice subdirectory file. More...
 
#define IIODEVICE_NOCHANNELS_ERROR   IIO_ERROR_OFFSET-5
 Error when trying to open the device, but the channels aren't initialised. More...
 
#define IIODEVICE_READANDWRITE_ERROR   IIO_ERROR_OFFSET-6
 Don't know how to hbandle read and write yet. More...
 
#define IIODEVICE_WRITEABLE_ERROR   IIO_ERROR_OFFSET-7
 Don't know how to write yet. More...
 
#define IIODEVICE_OPEN_ERROR   IIO_ERROR_OFFSET-8
 Couldn't open the device. More...
 
#define IIODEVICE_FRAEMSIZE_MISMATCH_ERROR   IIO_ERROR_OFFSET-9
 The frame sizes differ between channels on one device. More...
 
#define IIO_FRAEMSIZE_MISMATCH_ERROR   IIO_ERROR_OFFSET-9
 The channel frame sizes differ between devices. More...
 
#define IIO_NODEVICES_ERROR   IIO_ERROR_OFFSET-10
 There are no devices. More...
 
#define IIO_ARRAY_FRAME_MISMATCH_ERROR   IIO_ERROR_OFFSET-11
 The sample type of the provided array doesn't match the sample type of the devices. More...
 
#define IIO_ARRAY_SIZE_MISMATCH_ERROR   IIO_ERROR_OFFSET-12
 The provided array doesn't match the number of channels and requested samples. More...
 
#define IIODEVICE_READ_ERROR   IIO_ERROR_OFFSET-13
 There was an error whilst reading from a device. More...
 
#define IIODEVICE_ENABLEFILE_ERROR   IIO_ERROR_OFFSET-14
 There was an error when trying to open the buffer enable file. More...
 
#define IIODEVICE_LENGTHFILE_ERROR   IIO_ERROR_OFFSET-15
 There was an error when trying to open the buffer length file. More...
 
#define IIODEVICE_CHBUFCNT_ERROR   IIO_ERROR_OFFSET-16
 One of the devices has a different buffer size to the other devices. More...
 
#define IIODEVICE_RESIZEBUF_NEW_ERROR   IIO_ERROR_OFFSET-17
 One of the devices has a different buffer size to the other devices. More...
 
#define IIOMMAP_ALLOCATE_ERROR   IIO_ERROR_OFFSET-18
 Couldn't allocate the iio memory buffers in the kernel using ioctl. More...
 
#define IIOMMAP_QUERY_ERROR   IIO_ERROR_OFFSET-19
 Couldn't query the iio device for allocated kernel memory. More...
 
#define IIOMMAP_MMAP_ERROR   IIO_ERROR_OFFSET-20
 Couldn't execute mmap. More...
 
#define IIOMMAP_ENQUEUE_ERROR   IIO_ERROR_OFFSET-21
 Couldn't enqueue the mmaped block. More...
 
#define IIOMMAP_NOINIT_ERROR   IIO_ERROR_OFFSET-22
 The MMapedBlocks system is not initialised. More...
 
#define IIOMMAP_WRONGOPEN_ERROR   IIO_ERROR_OFFSET-23
 The wrong open method was called. More...
 
#define IIOMMAP_BLOCK_SIZE_MISMATCH_ERROR   IIO_ERROR_OFFSET-24
 The user and mmaped block sizes don't match. More...
 

Typedefs

typedef unsigned int uint
 The uint type definition. More...
 

Macro Definition Documentation

◆ IIO_ARRAY_FRAME_MISMATCH_ERROR

#define IIO_ARRAY_FRAME_MISMATCH_ERROR   IIO_ERROR_OFFSET-11

The sample type of the provided array doesn't match the sample type of the devices.

Definition at line 36 of file IIOChannel.H.

◆ IIO_ARRAY_SIZE_MISMATCH_ERROR

#define IIO_ARRAY_SIZE_MISMATCH_ERROR   IIO_ERROR_OFFSET-12

The provided array doesn't match the number of channels and requested samples.

Definition at line 37 of file IIOChannel.H.

◆ IIO_BAD_CH_ARRAY_ERROR

#define IIO_BAD_CH_ARRAY_ERROR   IIO_ERROR_OFFSET-3

Error when the channel array can't be built or populated.

Definition at line 27 of file IIOChannel.H.

◆ IIO_BAD_DEVICE_NAME_ERROR

#define IIO_BAD_DEVICE_NAME_ERROR   IIO_ERROR_OFFSET-1

Error when the specified device name is bad or can't be found.

Definition at line 25 of file IIOChannel.H.

◆ IIO_BAD_DEVICE_TRIGGER_ERROR

#define IIO_BAD_DEVICE_TRIGGER_ERROR   IIO_ERROR_OFFSET-2

Error when the specified trigger doesn't exist.

Definition at line 26 of file IIOChannel.H.

◆ IIO_FRAEMSIZE_MISMATCH_ERROR

#define IIO_FRAEMSIZE_MISMATCH_ERROR   IIO_ERROR_OFFSET-9

The channel frame sizes differ between devices.

Definition at line 34 of file IIOChannel.H.

◆ IIO_NODEVICES_ERROR

#define IIO_NODEVICES_ERROR   IIO_ERROR_OFFSET-10

There are no devices.

Definition at line 35 of file IIOChannel.H.

◆ IIODEVICE_CHBUFCNT_ERROR

#define IIODEVICE_CHBUFCNT_ERROR   IIO_ERROR_OFFSET-16

One of the devices has a different buffer size to the other devices.

Definition at line 41 of file IIOChannel.H.

◆ IIODEVICE_ENABLEFILE_ERROR

#define IIODEVICE_ENABLEFILE_ERROR   IIO_ERROR_OFFSET-14

There was an error when trying to open the buffer enable file.

Definition at line 39 of file IIOChannel.H.

◆ IIODEVICE_FILE_OPEN_ERROR

#define IIODEVICE_FILE_OPEN_ERROR   IIO_ERROR_OFFSET-4

Error when trying to open an IIODevice subdirectory file.

Definition at line 28 of file IIOChannel.H.

◆ IIODEVICE_FRAEMSIZE_MISMATCH_ERROR

#define IIODEVICE_FRAEMSIZE_MISMATCH_ERROR   IIO_ERROR_OFFSET-9

The frame sizes differ between channels on one device.

Definition at line 33 of file IIOChannel.H.

◆ IIODEVICE_LENGTHFILE_ERROR

#define IIODEVICE_LENGTHFILE_ERROR   IIO_ERROR_OFFSET-15

There was an error when trying to open the buffer length file.

Definition at line 40 of file IIOChannel.H.

◆ IIODEVICE_NOCHANNELS_ERROR

#define IIODEVICE_NOCHANNELS_ERROR   IIO_ERROR_OFFSET-5

Error when trying to open the device, but the channels aren't initialised.

Definition at line 29 of file IIOChannel.H.

◆ IIODEVICE_OPEN_ERROR

#define IIODEVICE_OPEN_ERROR   IIO_ERROR_OFFSET-8

Couldn't open the device.

Definition at line 32 of file IIOChannel.H.

◆ IIODEVICE_READ_ERROR

#define IIODEVICE_READ_ERROR   IIO_ERROR_OFFSET-13

There was an error whilst reading from a device.

Definition at line 38 of file IIOChannel.H.

◆ IIODEVICE_READANDWRITE_ERROR

#define IIODEVICE_READANDWRITE_ERROR   IIO_ERROR_OFFSET-6

Don't know how to hbandle read and write yet.

Definition at line 30 of file IIOChannel.H.

◆ IIODEVICE_RESIZEBUF_NEW_ERROR

#define IIODEVICE_RESIZEBUF_NEW_ERROR   IIO_ERROR_OFFSET-17

One of the devices has a different buffer size to the other devices.

Definition at line 42 of file IIOChannel.H.

◆ IIODEVICE_WRITEABLE_ERROR

#define IIODEVICE_WRITEABLE_ERROR   IIO_ERROR_OFFSET-7

Don't know how to write yet.

Definition at line 31 of file IIOChannel.H.

◆ IIOMMAP_ALLOCATE_ERROR

#define IIOMMAP_ALLOCATE_ERROR   IIO_ERROR_OFFSET-18

Couldn't allocate the iio memory buffers in the kernel using ioctl.

Definition at line 43 of file IIOChannel.H.

◆ IIOMMAP_BLOCK_SIZE_MISMATCH_ERROR

#define IIOMMAP_BLOCK_SIZE_MISMATCH_ERROR   IIO_ERROR_OFFSET-24

The user and mmaped block sizes don't match.

Definition at line 49 of file IIOChannel.H.

◆ IIOMMAP_ENQUEUE_ERROR

#define IIOMMAP_ENQUEUE_ERROR   IIO_ERROR_OFFSET-21

Couldn't enqueue the mmaped block.

Definition at line 46 of file IIOChannel.H.

◆ IIOMMAP_MMAP_ERROR

#define IIOMMAP_MMAP_ERROR   IIO_ERROR_OFFSET-20

Couldn't execute mmap.

Definition at line 45 of file IIOChannel.H.

◆ IIOMMAP_NOINIT_ERROR

#define IIOMMAP_NOINIT_ERROR   IIO_ERROR_OFFSET-22

The MMapedBlocks system is not initialised.

Definition at line 47 of file IIOChannel.H.

◆ IIOMMAP_QUERY_ERROR

#define IIOMMAP_QUERY_ERROR   IIO_ERROR_OFFSET-19

Couldn't query the iio device for allocated kernel memory.

Definition at line 44 of file IIOChannel.H.

◆ IIOMMAP_WRONGOPEN_ERROR

#define IIOMMAP_WRONGOPEN_ERROR   IIO_ERROR_OFFSET-23

The wrong open method was called.

Definition at line 48 of file IIOChannel.H.

Typedef Documentation

◆ uint

typedef unsigned int uint

The uint type definition.

Definition at line 52 of file IIOChannel.H.

gtkIOStream: /tmp/gtkiostream/include/IIO/IIOChannel.H File Reference
GTK+ IOStream  Beta