IPC_SimpleSemaphore Class Reference

#include <ipc.simple.sem.H>

List of all members.

Public Member Functions

 IPC_SimpleSemaphore (int key)
int up ()
int down ()
int wait ()
virtual int create ()
virtual int attach ()
virtual int remove ()
virtual int lock ()
virtual int unlock ()
virtual void print (int do_wait=1)

Protected Member Functions

int v_op ()
int p_op ()
int wait_op ()

Protected Attributes

int _id


Constructor & Destructor Documentation

IPC_SimpleSemaphore::IPC_SimpleSemaphore ( int  key  )  [inline]


Member Function Documentation

int IPC_SimpleSemaphore::v_op (  )  [inline, protected]

References _id.

Referenced by create(), unlock(), and up().

int IPC_SimpleSemaphore::p_op (  )  [inline, protected]

References _id.

Referenced by down(), and lock().

int IPC_SimpleSemaphore::wait_op (  )  [inline, protected]

References _id.

Referenced by wait().

int IPC_SimpleSemaphore::up (  )  [inline]

References v_op().

int IPC_SimpleSemaphore::down (  )  [inline]

References p_op().

int IPC_SimpleSemaphore::wait (  )  [inline]

References wait_op().

virtual int IPC_SimpleSemaphore::create (  )  [inline, virtual]

References _id, v_op(), and semun::val.

virtual int IPC_SimpleSemaphore::attach (  )  [inline, virtual]

References _id.

virtual int IPC_SimpleSemaphore::remove (  )  [inline, virtual]

References _id.

virtual int IPC_SimpleSemaphore::lock (  )  [inline, virtual]

References p_op().

virtual int IPC_SimpleSemaphore::unlock (  )  [inline, virtual]

References v_op().

virtual void IPC_SimpleSemaphore::print ( int  do_wait = 1  )  [inline, virtual]

References _id, and semun::buf.


Member Data Documentation

int IPC_SimpleSemaphore::_id [protected]


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

Generated on Wed Jan 26 06:31:20 2011 for IS3D by  doxygen 1.5.6