ardour
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Types | Private Attributes | Friends | List of all members
Select::Selectable Class Reference

#include <selectable.h>

Inheritance diagram for Select::Selectable:

Public Member Functions

 Selectable (int fd)
 
 Selectable (const std::string &, int flags, int mode=0)
 
 Selectable (FILE *)
 
 ~Selectable ()
 
int fd ()
 
bool ok ()
 

Public Attributes

sigc::signal< void, Selectable
*, Select::Condition > 
readable
 
sigc::signal< void, Selectable
*, Select::Condition > 
writable
 
sigc::signal< void, Selectable
*, Select::Condition > 
exceptioned
 

Protected Member Functions

void selected (unsigned int condition)
 

Protected Attributes

int condition
 
int _fd
 

Private Types

enum  { fromFD, fromPath, fromFILE }
 

Private Attributes

bool _ok
 
int _type
 
std::string path
 

Friends

class Selector
 

Detailed Description

Definition at line 40 of file selectable.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
fromFD 
fromPath 
fromFILE 

Definition at line 64 of file selectable.h.

Constructor & Destructor Documentation

Select::Selectable::Selectable ( int  fd)
Select::Selectable::Selectable ( const std::string &  ,
int  flags,
int  mode = 0 
)
Select::Selectable::Selectable ( FILE *  )
Select::Selectable::~Selectable ( )

Member Function Documentation

int Select::Selectable::fd ( )
inline

Definition at line 53 of file selectable.h.

bool Select::Selectable::ok ( void  )
inline

Definition at line 54 of file selectable.h.

void Select::Selectable::selected ( unsigned int  condition)
protected

Friends And Related Function Documentation

friend class Selector
friend

Definition at line 61 of file selectable.h.

Member Data Documentation

int Select::Selectable::_fd
protected

Definition at line 59 of file selectable.h.

bool Select::Selectable::_ok
private

Definition at line 70 of file selectable.h.

int Select::Selectable::_type
private

Definition at line 71 of file selectable.h.

int Select::Selectable::condition
protected

Definition at line 58 of file selectable.h.

sigc::signal<void,Selectable *,Select::Condition> Select::Selectable::exceptioned

Definition at line 51 of file selectable.h.

std::string Select::Selectable::path
private

Definition at line 72 of file selectable.h.

sigc::signal<void,Selectable *,Select::Condition> Select::Selectable::readable

Definition at line 49 of file selectable.h.

sigc::signal<void,Selectable *,Select::Condition> Select::Selectable::writable

Definition at line 50 of file selectable.h.


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