Open Lighting Architecture  0.9.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
ola::io::LoopbackDescriptor Class Reference
Inheritance diagram for ola::io::LoopbackDescriptor:
ola::io::ConnectedDescriptor ola::io::BidirectionalFileDescriptor ola::io::ReadFileDescriptor ola::io::WriteFileDescriptor

Public Member Functions

bool Init ()
DescriptorHandle ReadDescriptor () const
DescriptorHandle WriteDescriptor () const
bool Close ()
bool CloseClient ()
- Public Member Functions inherited from ola::io::ConnectedDescriptor
virtual ssize_t Send (const uint8_t *buffer, unsigned int size)
virtual ssize_t Send (IOQueue *data)
virtual int Receive (uint8_t *buffer, unsigned int size, unsigned int &data_read)
virtual bool SetReadNonBlocking ()
int DataRemaining () const
bool IsClosed () const
void SetOnClose (OnCloseCallback *on_close)
OnCloseCallbackTransferOnClose ()
- Public Member Functions inherited from ola::io::BidirectionalFileDescriptor
void SetOnData (ola::Callback0< void > *on_read)
void SetOnWritable (ola::Callback0< void > *on_write)
void PerformRead ()
void PerformWrite ()
- Public Member Functions inherited from ola::io::ReadFileDescriptor
bool ValidReadDescriptor () const
- Public Member Functions inherited from ola::io::WriteFileDescriptor
bool ValidWriteDescriptor () const

Protected Member Functions

bool IsSocket () const
- Protected Member Functions inherited from ola::io::ConnectedDescriptor
bool SetNoSigPipe (DescriptorHandle fd)
 ConnectedDescriptor (const ConnectedDescriptor &other)
ConnectedDescriptoroperator= (const ConnectedDescriptor &other)

Additional Inherited Members

- Public Types inherited from ola::io::ConnectedDescriptor
typedef
ola::SingleUseCallback0< void > 
OnCloseCallback
- Static Public Member Functions inherited from ola::io::ConnectedDescriptor
static bool SetNonBlocking (DescriptorHandle fd)

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