Poco::EventImpl Class Reference

#include <Event_POSIX.h>

Inheritance diagram for Poco::EventImpl:

Inheritance graph
[legend]

Detailed Description

Definition at line 88 of file Event_POSIX.h.


Protected Member Functions

 EventImpl (bool autoReset)
 ~EventImpl ()
void setImpl ()
void waitImpl ()
bool waitImpl (long milliseconds)
void resetImpl ()

Private Attributes

bool _auto
volatile bool _state
pthread_mutex_t _mutex
pthread_cond_t _cond

Constructor & Destructor Documentation

Poco::EventImpl::EventImpl ( bool  autoReset  )  [protected]

Definition at line 80 of file Event_POSIX.cpp.

References _cond, and _mutex.

Poco::EventImpl::~EventImpl (  )  [protected]

Definition at line 89 of file Event_POSIX.cpp.

References _cond, and _mutex.


Member Function Documentation

void Poco::EventImpl::setImpl (  )  [inline, protected]

Definition at line 109 of file Event_POSIX.h.

References _cond, _mutex, and _state.

Referenced by Poco::Event::set().

void Poco::EventImpl::waitImpl (  )  [protected]

Definition at line 96 of file Event_POSIX.cpp.

References _auto, _cond, _mutex, and _state.

Referenced by Poco::Event::tryWait(), and Poco::Event::wait().

bool Poco::EventImpl::waitImpl ( long  milliseconds  )  [protected]

Definition at line 114 of file Event_POSIX.cpp.

References _auto, _cond, _mutex, and _state.

void Poco::EventImpl::resetImpl (  )  [inline, protected]

Definition at line 123 of file Event_POSIX.h.

References _mutex, and _state.

Referenced by Poco::Event::reset().


Field Documentation

bool Poco::EventImpl::_auto [private]

Definition at line 99 of file Event_POSIX.h.

Referenced by waitImpl().

volatile bool Poco::EventImpl::_state [private]

Definition at line 100 of file Event_POSIX.h.

Referenced by resetImpl(), setImpl(), and waitImpl().

pthread_mutex_t Poco::EventImpl::_mutex [private]

Definition at line 101 of file Event_POSIX.h.

Referenced by EventImpl(), resetImpl(), setImpl(), waitImpl(), and ~EventImpl().

pthread_cond_t Poco::EventImpl::_cond [private]

Definition at line 102 of file Event_POSIX.h.

Referenced by EventImpl(), setImpl(), waitImpl(), and ~EventImpl().


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

SourceForge.net Logo
Project space on SourceForge.net