GME  13
Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes
CCoreLockAttribute Class Reference

#include <CoreAttribute.h>

Inheritance diagram for CCoreLockAttribute:
Inheritance graph
[legend]
Collaboration diagram for CCoreLockAttribute:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CCoreLockAttribute ()
STDMETHOD() get_Value (VARIANT *p)
STDMETHOD() put_Value (VARIANT p)
STDMETHOD() get_LoadedValue (VARIANT *p)
STDMETHOD() get_PreviousValue (VARIANT *p)
STDMETHOD() get_PeerLockValue (locking_type *p)
virtual valtype_type GetValType () const NOTHROW
virtual CCoreLockAttributeGetLockAttr () const NOTHROW
void RegisterLockTry (locking_type unreg, locking_type reg)
void RegisterLockDo (locking_type unreg, locking_type reg) NOTHROW
bool IsLoaded () const NOTHROW
bool IsEmpty () const NOTHROW
void ControlLockGroup ()
void ControlLockGroupDo () NOTHROW
virtual void Load ()
virtual void Unload () NOTHROW
void Save ()
virtual void FillAfterCreateObject () NOTHROW
virtual void AbortFinalTransaction () NOTHROW
virtual void CommitFinalTransaction ()
virtual void CommitFinalTransactionFinish (bool undo) NOTHROW

Static Public Member Functions

static lockval_type CalcLock (locking_type locking, lockval_type lockval)
static lockval_type CalcUnlock (locking_type locking, lockval_type lockval)
static locking_type CalcLocking (lockval_type lockval)
static locking_type CombineLock (lock_count_type read_count, lock_count_type write_count) NOTHROW

Protected Types

typedef unsigned short lock_count_type

Protected Attributes

locking_type original_locking
lock_count_type read_count
lock_count_type write_count
lockval_type others_lockval

Detailed Description

Definition at line 180 of file CoreAttribute.h.


Member Typedef Documentation

typedef unsigned short CCoreLockAttribute::lock_count_type [protected]

Definition at line 190 of file CoreAttribute.h.


Constructor & Destructor Documentation

Definition at line 268 of file CoreAttribute.cpp.


Member Function Documentation

virtual void CCoreLockAttribute::AbortFinalTransaction ( ) [inline, virtual]

Reimplemented from CCoreAttribute.

Definition at line 226 of file CoreAttribute.h.

Definition at line 568 of file CoreAttribute.cpp.

Definition at line 678 of file CoreAttribute.cpp.

Definition at line 632 of file CoreAttribute.cpp.

Definition at line 700 of file CoreAttribute.cpp.

Reimplemented from CCoreAttribute.

Definition at line 560 of file CoreAttribute.cpp.

virtual void CCoreLockAttribute::CommitFinalTransactionFinish ( bool  undo) [inline, virtual]

Reimplemented from CCoreAttribute.

Definition at line 228 of file CoreAttribute.h.

Definition at line 467 of file CoreAttribute.cpp.

Definition at line 485 of file CoreAttribute.cpp.

Reimplemented from CCoreAttribute.

Definition at line 542 of file CoreAttribute.cpp.

STDMETHOD() CCoreLockAttribute::get_LoadedValue ( VARIANT *  p) [inline]

Definition at line 201 of file CoreAttribute.h.

Definition at line 336 of file CoreAttribute.cpp.

STDMETHOD() CCoreLockAttribute::get_PreviousValue ( VARIANT *  p) [inline]

Definition at line 202 of file CoreAttribute.h.

STDMETHODIMP CCoreLockAttribute::get_Value ( VARIANT *  p)

Definition at line 288 of file CoreAttribute.cpp.

virtual CCoreLockAttribute* CCoreLockAttribute::GetLockAttr ( ) const [inline, virtual]

Reimplemented from CCoreAttribute.

Definition at line 206 of file CoreAttribute.h.

virtual valtype_type CCoreLockAttribute::GetValType ( ) const [inline, virtual]

Implements CCoreAttribute.

Definition at line 205 of file CoreAttribute.h.

bool CCoreLockAttribute::IsEmpty ( ) const [inline]

Definition at line 212 of file CoreAttribute.h.

bool CCoreLockAttribute::IsLoaded ( ) const [inline]

Definition at line 211 of file CoreAttribute.h.

void CCoreLockAttribute::Load ( ) [virtual]

Reimplemented from CCoreAttribute.

Definition at line 419 of file CoreAttribute.cpp.

STDMETHODIMP CCoreLockAttribute::put_Value ( VARIANT  p)

Definition at line 301 of file CoreAttribute.cpp.

Definition at line 403 of file CoreAttribute.cpp.

Definition at line 367 of file CoreAttribute.cpp.

void CCoreLockAttribute::Save ( ) [inline]

Definition at line 508 of file CoreAttribute.cpp.

void CCoreLockAttribute::Unload ( ) [virtual]

Reimplemented from CCoreAttribute.

Definition at line 498 of file CoreAttribute.cpp.


Member Data Documentation

Definition at line 191 of file CoreAttribute.h.

Definition at line 196 of file CoreAttribute.h.

Definition at line 193 of file CoreAttribute.h.

Definition at line 194 of file CoreAttribute.h.


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