DBus::DefaultWatch Class Reference

#include <eventloop.h>

Inheritance diagram for DBus::DefaultWatch:

List of all members.

Public Member Functions

 DefaultWatch (int fd, int flags, DefaultMainLoop *)
virtual ~DefaultWatch ()
bool enabled ()
void enabled (bool e)
int descriptor ()
int flags ()
void flags (int f)
int state ()
void * data ()
void data (void *d)

Public Attributes

Slot< void, DefaultWatch & > ready

Private Attributes

bool _enabled
int _fd
int _flags
int _state
void * _data


class DefaultMainLoop

Detailed Description

Definition at line 110 of file eventloop.h.

Constructor & Destructor Documentation

DefaultWatch::DefaultWatch ( int  fd,
int  flags,
DefaultMainLoop ed 
DefaultWatch::~DefaultWatch (  )  [virtual]

Member Function Documentation

void DBus::DefaultWatch::data ( void *  d  )  [inline]

Definition at line 150 of file eventloop.h.

void* DBus::DefaultWatch::data (  )  [inline]
int DBus::DefaultWatch::descriptor (  )  [inline]

Definition at line 127 of file eventloop.h.

void DBus::DefaultWatch::enabled ( bool  e  )  [inline]

Definition at line 122 of file eventloop.h.

bool DBus::DefaultWatch::enabled (  )  [inline]

Definition at line 118 of file eventloop.h.

void DBus::DefaultWatch::flags ( int  f  )  [inline]

Definition at line 136 of file eventloop.h.

int DBus::DefaultWatch::flags (  )  [inline]

Definition at line 132 of file eventloop.h.

int DBus::DefaultWatch::state (  )  [inline]

Definition at line 141 of file eventloop.h.

Friends And Related Function Documentation

friend class DefaultMainLoop [friend]

Definition at line 169 of file eventloop.h.

Member Data Documentation

void* DBus::DefaultWatch::_data [private]

Definition at line 165 of file eventloop.h.

Definition at line 167 of file eventloop.h.

Referenced by DefaultWatch(), and ~DefaultWatch().

Definition at line 159 of file eventloop.h.

int DBus::DefaultWatch::_fd [private]

Definition at line 161 of file eventloop.h.

Definition at line 162 of file eventloop.h.

Definition at line 163 of file eventloop.h.

Definition at line 155 of file eventloop.h.

Referenced by DBus::BusDispatcher::add_watch().

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