Back to index

im-sdk  12.3.91
Public Member Functions | Private Member Functions | Private Attributes
IMLock Class Reference

#include <IMLock.hh>

Collaboration diagram for IMLock:
Collaboration graph

List of all members.

Public Member Functions

 IMLock (IMSyncObject &so)
 IMLock (IMSyncObject &so, bool lockp)
 ~IMLock ()

Private Member Functions

 IMLock (const IMLock &a)
IMLockoperator= (const IMLock &a)

Private Attributes

bool locked

Detailed Description

Definition at line 42 of file IMLock.hh.

Constructor & Destructor Documentation

IMLock::IMLock ( const IMLock a) [private]
IMLock::IMLock ( IMSyncObject so) [inline]

Definition at line 51 of file IMLock.hh.

       pso = &so;
       locked = true;

Here is the call graph for this function:

IMLock::IMLock ( IMSyncObject so,
bool  lockp 
) [inline]

Definition at line 57 of file IMLock.hh.

       if (lockp) {
           pso = &so;
           locked = true;
       } else {
           locked = false;

Here is the call graph for this function:

IMLock::~IMLock ( ) [inline]

Definition at line 67 of file IMLock.hh.

       if (locked) pso->unlock();

Here is the call graph for this function:

Member Function Documentation

IMLock& IMLock::operator= ( const IMLock a) [private]

Member Data Documentation

bool IMLock::locked [private]

Definition at line 44 of file IMLock.hh.

Definition at line 45 of file IMLock.hh.

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