1#ifndef INC_GLOGENPERSOBJECTSPY_H
2#define INC_GLOGENPERSOBJECTSPY_H
38#include <unordered_map>
40#if defined (__PTHREADS)
50 class GenericPersistent;
54 #pragma warning( disable : 4251 )
97 #if defined (__PTHREADS)
370 const ObjID & rGloObjID );
395 const ObjID & rGloObjID );
450 #pragma warning( default : 4251 )
Header for CriticalSection
Header for EuPCriticalSection
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:63
Is a mutex which can be queried via its lock mode. See isLocked().
Definition EuPCriticalSection.h:89
Is a mutex which can be queried via its lock mode. See isLocked().
Definition EuCriticalSection.h:94
Class to access the generic persistent objects of a database in memory.
Definition GloGenPersObjectSpy.h:76
int getPersistentObject(std::shared_ptr< GenericPersistent > &srRetVal, EnSeekMode eMode)
int getPersistentObject(GenericPersistent *&prRetVal, const ObjID &rGloObjID)
std::unordered_map< unsigned long, GenericPersistent * > m_PersObjectList
Definition GloGenPersObjectSpy.h:118
int getPersistentObject(GenericPersistent *&prRetVal, EnSeekMode eMode)
virtual ~GenPersObjectSpy()
int removePersistentObject(const GenericPersistent *pPersObject)
std::size_t sizeOfPersObjectList() const
GenPersObjectSpy(const GenPersObjectSpy &)
GenericPersistent * getPersistentObject(const ObjID &rGloObjID)
std::unordered_map< unsignedlong, GenericPersistent * >::iterator m_PersObjectListIterator
Definition GloGenPersObjectSpy.h:129
eut::CriticalSection m_LocalCriticalSection
Definition GloGenPersObjectSpy.h:100
int getPersistentObject(std::shared_ptr< GenericPersistent > &rRetVal, const ObjID &rGloObjID)
GenericPersistent * getPersistentObject(EnSeekMode eMode)
int insertPersistentObject(const GenericPersistent *pPersObject)
Generic persistent class. Does not require ObjCreator or ObjectMaker. Objects from the database can b...
Definition GloGenericPersistent.h:84
An object ID consists of the class ID, a database ID and the actual unique object number (all unsigne...
Definition GloObjID.h:77
Definition GloAbstractBaseLot.h:42
EnSeekMode
Definition GloTypes.h:166