Ardour  9.0-pre0-582-g084a23a80d
Select::Selectable Class Reference

#include <selectable.h>

Inheritance diagram for Select::Selectable:
[legend]

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::Conditionreadable
 
sigc::signal< void, Selectable *, Select::Conditionwritable
 
sigc::signal< void, Selectable *, Select::Conditionexceptioned
 

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 38 of file libs/pbd/pbd/selectable.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
fromFD 
fromPath 
fromFILE 

Definition at line 62 of file libs/pbd/pbd/selectable.h.

Constructor & Destructor Documentation

◆ Selectable() [1/3]

Select::Selectable::Selectable ( int  fd)

◆ Selectable() [2/3]

Select::Selectable::Selectable ( const std::string &  ,
int  flags,
int  mode = 0 
)

◆ Selectable() [3/3]

Select::Selectable::Selectable ( FILE *  )

◆ ~Selectable()

Select::Selectable::~Selectable ( )

Member Function Documentation

◆ fd()

int Select::Selectable::fd ( )
inline

Definition at line 51 of file libs/pbd/pbd/selectable.h.

◆ ok()

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

Definition at line 52 of file libs/pbd/pbd/selectable.h.

◆ selected()

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

Friends And Related Function Documentation

◆ Selector

friend class Selector
friend

Definition at line 59 of file libs/pbd/pbd/selectable.h.

Member Data Documentation

◆ _fd

int Select::Selectable::_fd
protected

Definition at line 57 of file libs/pbd/pbd/selectable.h.

◆ _ok

bool Select::Selectable::_ok
private

Definition at line 68 of file libs/pbd/pbd/selectable.h.

◆ _type

int Select::Selectable::_type
private

Definition at line 69 of file libs/pbd/pbd/selectable.h.

◆ condition

int Select::Selectable::condition
protected

Definition at line 56 of file libs/pbd/pbd/selectable.h.

◆ exceptioned

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

Definition at line 49 of file libs/pbd/pbd/selectable.h.

◆ path

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

Definition at line 70 of file libs/pbd/pbd/selectable.h.

◆ readable

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

Definition at line 47 of file libs/pbd/pbd/selectable.h.

◆ writable

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

Definition at line 48 of file libs/pbd/pbd/selectable.h.


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