|
MoochoPack: Miscellaneous Utilities for MOOCHO
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. | |
| virtual bool | resource_is_bound () const =0 |
| Returns true if a resource is bound to this object. | |
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.
| virtual MemMngPack::ReleaseResource::~ReleaseResource | ( | ) | [inline, virtual] |
When object is deleted so will the resource if it is not needed anymore.
Definition at line 60 of file ReleaseResource.hpp.
| 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 >.
1.7.6.1