iopc::VoidCacheItem Class Reference
[iopclib-cache]

#include <voidCacheItem.h>

Inheritance diagram for iopc::VoidCacheItem:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 VoidCacheItem (VoidCache &cache, const PersIdentification &persId, DatabaseObject &obj, bool isNew)
virtual DatabaseObjectgetObject ()
virtual CacheLockaddLock (bool rdonly)
 Adds lock to the object.
virtual void rmLock ()
virtual void unlock ()
 Unlocks the item, but doesn't remove it from the cache.


Detailed Description

Represents an object in Void Cache

Constructor & Destructor Documentation

iopc::VoidCacheItem::VoidCacheItem ( VoidCache cache,
const PersIdentification persId,
DatabaseObject obj,
bool  isNew 
)

Parameters:
cache Owner of the item being created.


Member Function Documentation

DatabaseObject & iopc::VoidCacheItem::getObject (  )  [virtual]

Returns the object.

Implements iopc::CacheLock.

CacheLock & iopc::VoidCacheItem::addLock ( bool  rdonly  )  [virtual]

Adds lock to the object.

Parameters:
rdonly Specifies type of lock to be added.
Returns:
An instance representing new lock.

Implements iopc::CacheLock.

void iopc::VoidCacheItem::rmLock (  )  [virtual]

Removes one lock.

Implements iopc::CacheLock.

void iopc::VoidCacheItem::unlock (  )  [virtual]

Unlocks the item, but doesn't remove it from the cache.

Don't call this method directly. Used by the VoidCache.


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

Generated on Tue Apr 14 16:46:47 2009 for IOPC 2 by  doxygen 1.5.6