UNIVERS
15.3
UNIVERS base processing software API
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
mix
Lock.H
1
/* Lock.H */
2
/* $Id: Lock.H,v 1.2 2003/10/22 12:58:14 vlad Exp $ */
3
#ifndef __Lock_H
4
#define __Lock_H
5
6
#include <mix/locks.h>
7
8
9
class
Lock
;
10
11
/* Dynamic array of pointers at locks */
12
#define PtrType Lock*
13
#define PtrAr LocksAr
14
#include <mix/PtrAr.H>
15
16
36
class
Lock
37
{
38
public
:
39
43
Lock
();
/* REDEFINE HERE */
44
47
virtual
~Lock
();
/* REDEFINE HERE */
48
49
51
LockId
lock_id
()
const
;
52
53
protected
:
54
57
static
LocksAr *
plocksar
;
58
60
void
lock
();
61
63
void
unlock
();
64
65
private
:
66
68
LockId lockid;
69
70
};
71
72
73
#endif
/* Lock.H */
Lock::plocksar
static LocksAr * plocksar
Definition:
Lock.H:57
Lock::lock
void lock()
Lock::lock_id
LockId lock_id() const
Lock
Definition:
Lock.H:36
Lock::Lock
Lock()
Lock::unlock
void unlock()
Lock::~Lock
virtual ~Lock()
Generated by
1.8.5