8 #include "fwMemory/policy/registry/macros.hpp" 9 #include "fwMemory/policy/NeverDump.hpp" 22 void NeverDump::allocationRequest( BufferInfo &info, ::fwMemory::BufferManager::ConstBufferPtrType buffer,
23 BufferInfo::SizeType size )
25 FwCoreNotUsedMacro(info);
26 FwCoreNotUsedMacro(buffer);
27 FwCoreNotUsedMacro(size);
33 void NeverDump::setRequest( BufferInfo &info, ::fwMemory::BufferManager::ConstBufferPtrType buffer,
34 BufferInfo::SizeType size )
36 FwCoreNotUsedMacro(info);
37 FwCoreNotUsedMacro(buffer);
38 FwCoreNotUsedMacro(size);
44 void NeverDump::reallocateRequest( BufferInfo &info, ::fwMemory::BufferManager::ConstBufferPtrType buffer,
45 BufferInfo::SizeType newSize )
47 FwCoreNotUsedMacro(info);
48 FwCoreNotUsedMacro(buffer);
49 FwCoreNotUsedMacro(newSize);
55 void NeverDump::destroyRequest( BufferInfo &info, ::fwMemory::BufferManager::ConstBufferPtrType buffer )
57 FwCoreNotUsedMacro(info);
58 FwCoreNotUsedMacro(buffer);
64 void NeverDump::lockRequest( BufferInfo &info, ::fwMemory::BufferManager::ConstBufferPtrType buffer )
66 FwCoreNotUsedMacro(info);
67 FwCoreNotUsedMacro(buffer);
73 void NeverDump::unlockRequest( BufferInfo &info, ::fwMemory::BufferManager::ConstBufferPtrType buffer )
75 FwCoreNotUsedMacro(info);
76 FwCoreNotUsedMacro(buffer);
81 void NeverDump::dumpSuccess( BufferInfo &info, ::fwMemory::BufferManager::ConstBufferPtrType buffer )
83 FwCoreNotUsedMacro(info);
84 FwCoreNotUsedMacro(buffer);
89 void NeverDump::restoreSuccess( BufferInfo &info, ::fwMemory::BufferManager::ConstBufferPtrType buffer )
91 FwCoreNotUsedMacro(info);
92 FwCoreNotUsedMacro(buffer);
97 void NeverDump::refresh()
103 std::string NeverDump::getParam(
const std::string &name,
bool *ok)
const 105 FwCoreNotUsedMacro(name);
The namespace fwMemory contains tools to manage memory. Use for dump.