MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
MemMngPack::ReleaseResource Class Referenceabstract

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]

Public Member Functions

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

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 54 of file ReleaseResource.hpp.

Constructor & Destructor Documentation

virtual MemMngPack::ReleaseResource::~ReleaseResource ( )
inlinevirtual

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

Definition at line 60 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 AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays, and MemMngPack::ReleaseResource_ref_count_ptr< T >.


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