ThreadSafeSharedObject Class Reference

This template class provides a thread-safe implementation of SharedObject interface. More...

Inherited by ICollation, IMemoryContext, and IMessageSource.

List of all members.

Protected Member Functions

bool HasReferences () const
virtual void OnFinalRelease () const
 Called when the reference count reaches 0.
 ThreadSafeSharedObject ()
 Constructor.
virtual ~ThreadSafeSharedObject ()
 Destructor.

Friends

class SharedPtr

Detailed Description

This template class provides a thread-safe implementation of SharedObject interface.


Constructor & Destructor Documentation

ThreadSafeSharedObject (  )  [inline, protected]

Constructor.

virtual ~ThreadSafeSharedObject (  )  [inline, protected, virtual]

Destructor.

The destructor is protected to prevent client code from explicitly using delete instead of calling Release() to "delete" the object.


Member Function Documentation

bool HasReferences (  )  const [inline, protected]
virtual void OnFinalRelease (  )  const [inline, protected, virtual]

Called when the reference count reaches 0.


Friends And Related Function Documentation

friend class SharedPtr [friend]

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

Generated on Wed May 17 14:21:19 2017 for SimbaEngine 10.1.3.1011 by simba