ILockFactory Class Template Reference


Public Methods

virtual LockType * create ()=0
virtual void destroy (LockType *lock)=0
virtual oa::oaUInt8 calcVMSize () const=0

Static Public Methods

const oaCommon::Guid & getId ()

Detailed Description

template<class LockType>
class ILockFactory< LockType >

This abstract template class defines the common interfaces for plug-ins that create resource locks for concurrent operations on OpenAccess databases.


Member Function Documentation

template<class LockType>
oaUInt8 ILockFactory< LockType >::calcVMSize   const [pure virtual]
 

This abstract virtual function returns the number of bytes this interface is currently using in virtual memory including all the memory it allocates.

template<class LockType>
LockType * ILockFactory< LockType >::create   [pure virtual]
 

This abstract virtual function creates resource locks.

template<class LockType>
void ILockFactory< LockType >::destroy LockType *    lock [pure virtual]
 

This abstract virtual function destroys resource locks.

const Guid & ILockFactory< LockType >::getId   [inline, static]
 

This function returns a 128-bit ID value that is used to uniquely identify interfaces in the OpenAccess plug-in system.


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

Return to top of page