Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
ola::io Namespace Reference

Detailed Description

Classes for general I/O and event handling.

Classes

class  BigEndianInputStreamInterface
class  BigEndianInputStreamAdaptor
class  BigEndianInputStream
class  BigEndianOutputStreamInterface
class  BigEndianOutputStreamAdaptor
class  BigEndianOutputStream
class  ReadFileDescriptor
class  WriteFileDescriptor
class  BidirectionalFileDescriptor
class  UnmanagedFileDescriptor
struct  UnmanagedFileDescriptor_lt
class  ConnectedDescriptor
class  LoopbackDescriptor
class  PipeDescriptor
class  UnixSocket
class  DeviceDescriptor
class  InputBufferInterface
class  InputStreamInterface
class  InputStream
class  IOQueue
class  IOStack
class  IOVecInterface
class  MemoryBlock
class  MemoryBlockPool
class  MemoryBuffer
class  OutputBufferInterface
class  OutputStreamInterface
class  OutputStream
class  SelectServer
class  SelectServerInterface
class  StdinHandler

Functions

bool CreatePipe (int fd_pair[2])

Variables

static const int INVALID_DESCRIPTOR = -1

Function Documentation

bool ola::io::CreatePipe ( int  fd_pair[2])

Helper function to create a annonymous pipe

Parameters
fd_paira 2 element array which is updated with the fds
Returns
true if successfull, false otherwise.