10#include "../core/FunctionConnector.h"
19 PollNotifier(
int, AbstractThread::PollEvents = AbstractThread::PollIn);
22 bool setDescriptor(
int, AbstractThread::PollEvents = AbstractThread::PollIn);
24 bool setEvents(AbstractThread::PollEvents);
30 bool fail() {
return fail_; }
33 FunctionConnectorProtected<PollNotifier>::Connector<AbstractThread::PollEvents>
notify;
The AbstractThread class provides the base functionality for thread management.
Definition AbstractThread.h:46
bool setDescriptor(int, AbstractThread::PollEvents=AbstractThread::PollIn)
Assigns the file descriptor and watch events.
Definition PollNotifier.cpp:25
bool fail()
Returns true if error occurred.
Definition PollNotifier.h:30
bool setEvents(AbstractThread::PollEvents)
Set watch events.
Definition PollNotifier.cpp:38
int descriptor()
Returns the file descriptor.
Definition PollNotifier.h:28
void removeDescriptor()
Remove the file descriptor.
Definition PollNotifier.cpp:40
FunctionConnectorProtected< PollNotifier >::Connector< AbstractThread::PollEvents > notify
The PollNotifier::notify connector.
Definition PollNotifier.h:33