MemMngPack::ReleaseResource Class Reference

Abstract interface for releasing an object when it is not needed anymore {abstract}. More...

#include <ReleaseResource.hpp>

Inheritance diagram for MemMngPack::ReleaseResource:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ReleaseResource ()
 When object is deleted so will the resource if it is not needed anymore.
virtual bool resource_is_bound () const =0
 Returns true if a resource is bound to this object.

Detailed Description

Abstract interface for releasing an object when it is not needed anymore {abstract}.

The purpose of this object is so that a client can give another peer a means to release needed resources when that object is not bound anymore.

Definition at line 41 of file ReleaseResource.hpp.


Constructor & Destructor Documentation

virtual MemMngPack::ReleaseResource::~ReleaseResource (  )  [inline, virtual]

When object is deleted so will the resource if it is not needed anymore.

Definition at line 47 of file ReleaseResource.hpp.


Member Function Documentation

virtual bool MemMngPack::ReleaseResource::resource_is_bound (  )  const [pure virtual]

Returns true if a resource is bound to this object.

Implemented in MemMngPack::ReleaseResource_ref_count_ptr< T >.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:50:26 2010 for MoochoPack: Miscellaneous Utilities for MOOCHO by  doxygen 1.4.7