Home C-Bits Package Documentation Project Page

Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

cbits::SignalObject_PTHREAD Class Reference

#include <SignalObject_PTHREAD.h>

Inheritance diagram for cbits::SignalObject_PTHREAD:

[legend]
Collaboration diagram for cbits::SignalObject_PTHREAD:
[legend]
List of all members.

Public Methods

 SignalObject_PTHREAD ()
 Constructor. More...

virtual ~SignalObject_PTHREAD ()
 Destructor. More...

const bool wait (const long msec=0)
 Wait for a signal. More...

const bool notify ()
 Send signal to a object waiting for a signal. More...

const bool notifyAll ()
 Send signal to all objects waiting for a signal. More...


Static Public Methods

SignalObject * create ()
 Create a new SignalObject. More...


Protected Methods

virtual const bool impl_wait (const long msec=0)
 EMPTY *. More...

virtual const bool impl_notify ()
virtual const bool impl_notify_all ()

Constructor & Destructor Documentation

SignalObject_PTHREAD::SignalObject_PTHREAD (    ) 
 

Constructor.

SignalObject_PTHREAD::~SignalObject_PTHREAD (    )  [virtual]
 

Destructor.


Member Function Documentation

SignalObject * SignalObject::create (    )  [static, inherited]
 

Create a new SignalObject.

Returns:
new SignalObject instance.

const bool SignalObject_PTHREAD::impl_notify (    )  [protected, virtual]
 

Implements cbits::SignalObject.

const bool SignalObject_PTHREAD::impl_notify_all (    )  [protected, virtual]
 

Implements cbits::SignalObject.

const bool SignalObject_PTHREAD::impl_wait (  const long    msec = 0 )  [protected, virtual]
 

EMPTY *.

Implements cbits::SignalObject.

const bool SignalObject::notify (    )  [inherited]
 

Send signal to a object waiting for a signal.

Returns:
true if signal was sent; false otherwise.

const bool SignalObject::notifyAll (    )  [inherited]
 

Send signal to all objects waiting for a signal.

Returns:
true if signal was sent; false otherwise.

const bool SignalObject::wait (  const long    msec = 0 )  [inherited]
 

Wait for a signal.

Returns:
true if signal was received; false, otherwise.
Parameters:
msec  Maximum number of milliseconds to wait. A value of msec less than or equal to zero is interpreted as 'wait forever'.


The documentation for this class was generated from the following files:
Generated by
doxygen
Hosted by
SourceForge