class for file mapping
Definition IFileMapper.h:12
virtual void * getPtr()=0
Gets the pointer locked using method mapView().
virtual void initialize()=0
Initialize and prepare the underlying system when needed.
virtual bool unmapView()=0
Unlocks the pointer locked with mapView().
IFileMapper()=default
Default constructor.
static IFileMapper * instantiate(bool native)
Gets an instance of this interface using a native or non-native (Qt) implementation.
virtual void createView(size_t sz)=0
Allocates disk space the file map.
virtual ~IFileMapper()=default
Virtual destructor.
virtual bool mapView()=0
Locks a pointer in memory which can be unlocked using unmapView().
#define _MISC_CLASS
Definition misc/global.h:40
Definition Application.h:10