gtkIOStream
1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
|
#include <IIOChannel.H>
Public Member Functions | |
int | scanElements (std::string scanPath, uint cIndex) |
void | printInfo () |
bool | isReadCh (void) |
Public Attributes | |
unsigned int | index |
The index in the interleaved stream. More... | |
std::string | chName |
The name of each of the enabled channels. More... | |
std::string | chGenericName |
The generic name of each of the enabled channels. More... | |
bool | isLittleEndian |
Indicates whether the channel is little endian. More... | |
bool | isSigned |
Indicates whether the data is signed or unsigned. More... | |
uint | bitCnt |
The number of bits in one word of data for one channel. More... | |
uint | deviceBitCnt |
The number of bits in one device word - this is all the channels combined into a device frame. More... | |
uint | bitShiftCnt |
The number of bits to shift the channel word down by to get a proper reading. More... | |
Maintains channel information for an IIO device. Adds capability for the channel to scan its elements and work out its nature.
Definition at line 95 of file IIOChannel.H.
|
inline |
Find if this channel is an input channel or and output channel.
Definition at line 162 of file IIOChannel.H.
|
inline |
Definition at line 142 of file IIOChannel.H.
|
inline |
Setup the relevant channel parameters from the scan_elements directory in sysfs
scanPath | The path to the scan_elements directory |
cIndex | The sysfs channel element to scan |
Definition at line 112 of file IIOChannel.H.
uint IIOChannel::bitCnt |
The number of bits in one word of data for one channel.
Definition at line 103 of file IIOChannel.H.
uint IIOChannel::bitShiftCnt |
The number of bits to shift the channel word down by to get a proper reading.
Definition at line 105 of file IIOChannel.H.
std::string IIOChannel::chGenericName |
The generic name of each of the enabled channels.
Definition at line 100 of file IIOChannel.H.
std::string IIOChannel::chName |
The name of each of the enabled channels.
Definition at line 99 of file IIOChannel.H.
uint IIOChannel::deviceBitCnt |
The number of bits in one device word - this is all the channels combined into a device frame.
Definition at line 104 of file IIOChannel.H.
unsigned int IIOChannel::index |
The index in the interleaved stream.
Definition at line 98 of file IIOChannel.H.
bool IIOChannel::isLittleEndian |
Indicates whether the channel is little endian.
Definition at line 101 of file IIOChannel.H.
bool IIOChannel::isSigned |
Indicates whether the data is signed or unsigned.
Definition at line 102 of file IIOChannel.H.
GTK+ IOStream
Beta
|