GlobalObjects
|
The individual lock modes of the object with object ID from LockedObject::m_LockObjektID for a communicator. More...
#include <GloLockManager.h>
Public Member Functions | |
CommunicatorRightsRestrictions () | |
CommunicatorRightsRestrictions (Communicator *pCommunicator) | |
~CommunicatorRightsRestrictions () | |
bool | hasDeleteGuarantee () const |
bool | hasDeleteProtection () const |
bool | hasLockDELETEvREAD () |
bool | hasLockDELETEvWRITE () |
bool | hasLockEXCLUSIVE () |
bool | hasLockREADvDELETE () |
bool | hasLockREADvWRITE () |
bool | hasLockTRANSACTION_DELETE () |
bool | hasLockTRANSACTION_WRITE () |
bool | hasLockWRITEvWRITE () |
bool | hasReadGuarantee () const |
bool | hasReadProtection () const |
bool | hasWriteGuarantee () const |
bool | hasWriteProtection () const |
bool | isNULL () const |
Protected Attributes | |
std::list< DependentObjsWithDeepMode * > | m_DELETEvREAD_Count |
std::list< DependentObjsWithDeepMode * > | m_DELETEvWRITE_Count |
std::list< DependentObjsWithDeepMode * > | m_EXCLUSIVE_Count |
Communicator * | m_pCommunicator |
std::list< DependentObjsWithDeepMode * > | m_READvDELETE_Count |
std::list< DependentObjsWithDeepMode * > | m_READvWRITE_Count |
std::list< DependentObjsWithDeepMode * > | m_TRANSACTION_DELETE_Count |
std::list< DependentObjsWithDeepMode * > | m_TRANSACTION_WRITE_Count |
std::list< DependentObjsWithDeepMode * > | m_WRITEvWRITE_Count |
Private Member Functions | |
void | deleteObjectsInList (std::list< DependentObjsWithDeepMode * > *pList) |
Friends | |
class | LockedObject |
class | LockManager |
The individual lock modes of the object with object ID from LockedObject::m_LockObjektID for a communicator.
For each lock mode there is a list in which the list of dependent objects that have been locked with the lock depth mode is stored.
glo::LockManager::LockedObject::CommunicatorRightsRestrictions::CommunicatorRightsRestrictions | ( | ) |
Standard constructor.
glo::LockManager::LockedObject::CommunicatorRightsRestrictions::CommunicatorRightsRestrictions | ( | Communicator * | pCommunicator | ) |
Constructor with parameter passing.
[in] | pCommunicator | The communicator. |
glo::LockManager::LockedObject::CommunicatorRightsRestrictions::~CommunicatorRightsRestrictions | ( | ) |
Destructor.
|
private |
Removes all objects in the passed list. All removed objects in memory are deleted.
[in,out] | pList | Pointer to the list |
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasDeleteGuarantee | ( | ) | const |
Checks if the own communicator for the object with object ID from LockedObject::m_LockObjektID has the warranty to delete.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasDeleteProtection | ( | ) | const |
Checks whether object with object ID from LockedObject::m_LockObjektID may only be delete by the own communicator.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasLockDELETEvREAD | ( | ) |
Checks whether object with object ID from LockedObject::m_LockObjektID is locked by its own communicator with the lock mode glo::LK_DELETEvREAD.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasLockDELETEvWRITE | ( | ) |
Checks whether object with object ID from LockedObject::m_LockObjektID is locked by its own communicator with the lock mode glo::LK_DELETEvWRITE.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasLockEXCLUSIVE | ( | ) |
Checks whether object with object ID from LockedObject::m_LockObjektID is locked by its own communicator with the lock mode glo::LK_EXCLUSIVE.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasLockREADvDELETE | ( | ) |
Checks whether object with object ID from LockedObject::m_LockObjektID is locked by its own communicator with the lock mode glo::LK_READvDELETE.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasLockREADvWRITE | ( | ) |
Checks whether object with object ID from LockedObject::m_LockObjektID is locked by its own communicator with the lock mode glo::LK_READvWRITE.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasLockTRANSACTION_DELETE | ( | ) |
Checks whether object with object ID from LockedObject::m_LockObjektID is locked by its own communicator with the lock mode glo::LK_TRANSACTION_DELETE.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasLockTRANSACTION_WRITE | ( | ) |
Checks whether object with object ID from LockedObject::m_LockObjektID is locked by its own communicator with the lock mode glo::LK_TRANSACTION_WRITE.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasLockWRITEvWRITE | ( | ) |
Checks whether object with object ID from LockedObject::m_LockObjektID is locked by its own communicator with the lock mode glo::LK_WRITEvWRITE.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasReadGuarantee | ( | ) | const |
Checks if the own communicator for the object with object ID from LockedObject::m_LockObjektID has the warranty to read.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasReadProtection | ( | ) | const |
Checks whether object with object ID from LockedObject::m_LockObjektID may only be read by the own communicator.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasWriteGuarantee | ( | ) | const |
Checks if the own communicator for the object with object ID from LockedObject::m_LockObjektID has the warranty to write.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::hasWriteProtection | ( | ) | const |
Checks whether object with object ID from LockedObject::m_LockObjektID may only be write by the own communicator.
bool glo::LockManager::LockedObject::CommunicatorRightsRestrictions::isNULL | ( | ) | const |
Checks if object with object ID from LockedObject::m_LockObjektID is somehow locked by the own communicator.
|
friend |
|
friend |
|
protected |
The frequency of the lock mode glo::LK_DELETEvREAD with which the object with object ID from LockedObject::m_LockObjektID was locked with its locked objects.
|
protected |
The frequency of the lock mode glo::LK_DELETEvWRITE with which the object with object ID from LockedObject::m_LockObjektID was locked with its locked objects.
|
protected |
The frequency of the lock mode glo::LK_EXCLUSIVE with which the object with object ID from LockedObject::m_LockObjektID was locked with its locked objects.
|
protected |
Pointer to the locking communicator.
|
protected |
The frequency of the lock mode glo::LK_READvDELETE with which the object with object ID from LockedObject::m_LockObjektID was locked with its locked objects.
|
protected |
The frequency of the lock mode glo::LK_READvWRITE with which the object with object ID from LockedObject::m_LockObjektID was locked with its locked objects.
|
protected |
The frequency of the lock mode glo::LK_TRANSACTION_DELETE with which the object with object ID from LockedObject::m_LockObjektID was locked with its locked objects.
|
protected |
The frequency of the lock mode glo::LK_TRANSACTION_WRITE with which the object with object ID from LockedObject::m_LockObjektID was locked with its locked objects.
|
protected |
The frequency of the lock mode glo::LK_WRITEvWRITE with which the object with object ID from LockedObject::m_LockObjektID was locked with its locked objects.