fw4spl
fwMemory::IPolicy Class Referenceabstract

Defines the memory dump policy interface. More...

#include <IPolicy.hpp>

+ Inheritance diagram for fwMemory::IPolicy:
+ Collaboration diagram for fwMemory::IPolicy:

Classes

class  Registrar
 

Public Types

typedef std::shared_ptr< IPolicysptr
 
typedef std::vector< std::string > ParamNamesType
 

Public Member Functions

virtual void allocationRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer, BufferInfo::SizeType size)=0
 
virtual void setRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer, BufferInfo::SizeType size)=0
 
virtual void reallocateRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer, BufferInfo::SizeType newSize)=0
 
virtual void destroyRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer)=0
 
virtual void lockRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer)=0
 
virtual void unlockRequest (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer)=0
 
virtual void dumpSuccess (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer)=0
 
virtual void restoreSuccess (BufferInfo &info,::fwMemory::BufferManager::ConstBufferPtrType buffer)=0
 
virtual void refresh ()=0
 
virtual bool setParam (const std::string &name, const std::string &value)=0
 
virtual std::string getParam (const std::string &name, bool *ok=NULL) const =0
 
virtual const ParamNamesType & getParamNames () const =0
 
- Public Member Functions inherited from fwCore::BaseObject
virtual bool isA (const std::string &type) const
 
virtual const std::string & getLeafClassname () const
 return object's classname without its namespace, i.e. BaseObject
 
virtual const std::string & getClassname () const
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 

Additional Inherited Members

- 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
 

Detailed Description

Defines the memory dump policy interface.

Definition at line 23 of file IPolicy.hpp.


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