MOOCHO (Single Doxygen Collection)
Version of the Day
|
Abstract interface for releasing an object when it is not needed anymore {abstract}. More...
#include <ReleaseResource.hpp>
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... | |
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.
|
inlinevirtual |
When object is deleted so will the resource if it is not needed anymore.
Definition at line 60 of file ReleaseResource.hpp.
|
pure virtual |
Returns true if a resource is bound to this object.
Implemented in AbstractLinAlgPack::MatrixSparseCOORSerial::ReleaseValRowColArrays, and MemMngPack::ReleaseResource_ref_count_ptr< T >.