7 #ifndef __FWMEMORY_STREAM_IN_BUFFER_HPP__ 8 #define __FWMEMORY_STREAM_IN_BUFFER_HPP__ 10 #include "fwMemory/config.hpp" 11 #include "fwMemory/stream/in/IFactory.hpp" 27 typedef SPTR (
void) LockType;
28 typedef std::function< LockType() > CounterFactoryType;
30 Buffer(
void* buf,
size_t size);
31 Buffer(
void* buf,
size_t size, CounterFactoryType counterFactory);
35 FWMEMORY_API
SPTR(std::istream)
get();
39 CounterFactoryType m_counterFactory;
46 #endif // __FWMEMORY_STREAM_IN_BUFFER_HPP__
The namespace fwMemory contains tools to manage memory. Use for dump.
This file defines fwCore base macros.