fw4spl
fwMemory::policy::AlwaysDump Class Reference

Always dump policy. More...

#include <AlwaysDump.hpp>

+ Inheritance diagram for fwMemory::policy::AlwaysDump:
+ Collaboration diagram for fwMemory::policy::AlwaysDump:

Public Member Functions

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
 
bool setParam (const std::string &name, const std::string &value) override
 
virtual FWMEMORY_API std::string getParam (const std::string &name, bool *ok=NULL) const override
 
const ::fwMemory::IPolicy::ParamNamesType & getParamNames () const override
 
- Public Member Functions inherited from fwCore::BaseObject

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwCore::BaseObject
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
 

Protected Member Functions

FWMEMORY_API size_t dump ()
 
FWMEMORY_API void apply ()
 

Friends

template<class , class , class >
class ::fwTools::ClassFactory
 
class ::fwTools::Factory
 

Demangling methods

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
 

Additional Inherited Members

- Public Types inherited from fwMemory::IPolicy
typedef std::shared_ptr< IPolicysptr
 
typedef std::vector< std::string > ParamNamesType
 

Detailed Description

Always dump policy.

This policy will dump buffers as often as possible. As soon as a buffer is released (ie the lock count become zero), it will be dumped.

Definition at line 28 of file AlwaysDump.hpp.


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