UNIVERS
15.3
UNIVERS base processing software API
|
#include <DbLock.H>
Public Member Functions | |
DbLock (const char *szProject, const dbNameStruct &dbns, DbAccess dbac) | |
DbLock (const char *szProject, const char *szDbFileName, DbAccess dbac) | |
virtual | ~DbLock () |
LockId | db_lock_id () const |
Public Member Functions inherited from DbPointer | |
DbPointer () | |
DbPointer (const DbPointer &dbp) | |
DbPointer (const dbPointer &dbptr) | |
DbPointer (const char *szProject, const DbName &dbn) | |
operator dbPointer () const | |
DbPointer & | operator= (const DbPointer &dbp) |
DbPointer & | operator= (const dbPointer &dbptr) |
void | set_project (const char *szProject) |
void | unset_project () |
const char * | get_project () const |
virtual Logic | is_empty () const |
Public Member Functions inherited from DbName | |
DbName () | |
DbName (const dbNameStruct &dbns) | |
DbName (const char *szFileName) | |
const char * | symbolic_name () const |
const dbNameStruct & | struct_name () const |
DbName & | operator= (const dbNameStruct &dbns) |
DbName & | operator= (const DbName &dbn) |
DbName & | operator= (const char *szFileName) |
void | set_table (const char *szTableType) |
void | set_well (const char *szWellName) |
void | set_sp (int nSP) |
void | set_mod (int nMod) |
void | set_list_flag (Logic bList) |
void | unset_table () |
void | unset_well () |
void | unset_sp () |
void | unset_mod () |
const char * | get_table () const |
const char * | get_well () const |
int | get_sp () const |
int | get_mod () const |
Logic | get_list_flag () const |
Public Member Functions inherited from Lock | |
Lock () | |
virtual | ~Lock () |
LockId | lock_id () const |
Protected Attributes | |
LockId | dblid |
Additional Inherited Members | |
Protected Member Functions inherited from DbName | |
virtual void | rebuild_fname () |
Protected Member Functions inherited from Lock | |
void | lock () |
void | unlock () |
Static Protected Attributes inherited from Lock | |
static LocksAr * | plocksar |
Shared lock of the LDB object. Extends class Lock by db object based sharable lock.
DbLock::DbLock | ( | const char * | szProject, |
const dbNameStruct & | dbns, | ||
DbAccess | dbac | ||
) |
Doing lock here
|
virtual |
Doing unlock here
LockId DbLock::db_lock_id | ( | ) | const |
Return local db lock identifier (inside list of locks for this db table)
|
protected |
Lock id in the lock table