Barrier dump policy.
More...
#include <BarrierDump.hpp>
|
virtual bool | isA (const std::string &type) const override |
|
virtual FWMEMORY_API void | allocationRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer, BufferInfo::SizeType size) override |
|
virtual FWMEMORY_API void | setRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer, BufferInfo::SizeType size) override |
|
virtual FWMEMORY_API void | reallocateRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer, BufferInfo::SizeType newSize) override |
|
virtual FWMEMORY_API void | destroyRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer) override |
|
virtual FWMEMORY_API void | lockRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer) override |
|
virtual FWMEMORY_API void | unlockRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer) override |
|
virtual FWMEMORY_API void | dumpSuccess (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer) override |
|
virtual FWMEMORY_API void | restoreSuccess (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer) override |
|
virtual FWMEMORY_API void | refresh () override |
|
void | setBarrier (size_t barrier) |
|
size_t | getBarrier () const |
|
virtual FWMEMORY_API std::string | getParam (const std::string &name, bool *ok=NULL) const override |
|
FWMEMORY_API bool | setParam (const std::string &name, const std::string &value) override |
|
FWMEMORY_API const fwMemory::IPolicy::ParamNamesType & | getParamNames () const override |
|
|
static bool | isTypeOf (const std::string &type) |
|
static bool | isTypeOf (const std::string &type) |
|
static const std::string & | leafClassname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
static const std::string & | classname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
|
FWMEMORY_API size_t | getTotalAlive () const |
|
FWMEMORY_API bool | isBarrierCrossed () const |
|
FWMEMORY_API size_t | dump (size_t nbOfBytes) |
|
FWMEMORY_API void | apply () |
|
|
size_t | m_totalAllocated |
|
size_t | m_totalDumped |
|
size_t | m_barrier |
|
|
template<class , class , class > |
class | ::fwTools::ClassFactory |
|
class | ::fwTools::Factory |
|
|
virtual const std::string & | getLeafClassname () const override |
| return object's classname without its namespace, i.e. BaseObject
|
|
virtual const std::string & | getClassname () const override |
| return full object's classname with its namespace, i.e. fwCore::BaseObject
|
|
static const std::string & | leafClassname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
static const std::string & | classname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
|
typedef std::shared_ptr< IPolicy > | sptr |
|
typedef std::vector< std::string > | ParamNamesType |
|
Barrier dump policy.
This policy defines a memory usage barrier and will try to keep the managed buffers memory usage under this barrier.
Definition at line 30 of file BarrierDump.hpp.
The documentation for this class was generated from the following files: