class for file mapping
More...
#include <IFileMapper.h>
|
| IFileMapper ()=default |
| Default constructor.
|
|
virtual | ~IFileMapper ()=default |
| Virtual destructor.
|
|
virtual void | initialize ()=0 |
| Initialize and prepare the underlying system when needed.
|
|
virtual void | createView (size_t sz)=0 |
| Allocates disk space the file map.
|
|
virtual bool | mapView ()=0 |
| Locks a pointer in memory which can be unlocked using unmapView().
|
|
virtual bool | unmapView ()=0 |
| Unlocks the pointer locked with mapView().
|
|
virtual void * | getPtr ()=0 |
| Gets the pointer locked using method mapView().
|
|
|
static IFileMapper * | instantiate (bool native) |
| Gets an instance of this interface using a native or non-native (Qt) implementation.
|
|
◆ IFileMapper()
sf::IFileMapper::IFileMapper |
( |
| ) |
|
|
default |
◆ ~IFileMapper()
virtual sf::IFileMapper::~IFileMapper |
( |
| ) |
|
|
virtualdefault |
◆ createView()
virtual void sf::IFileMapper::createView |
( |
size_t |
sz | ) |
|
|
pure virtual |
◆ getPtr()
virtual void * sf::IFileMapper::getPtr |
( |
| ) |
|
|
pure virtual |
◆ initialize()
virtual void sf::IFileMapper::initialize |
( |
| ) |
|
|
pure virtual |
◆ instantiate()
static IFileMapper * sf::IFileMapper::instantiate |
( |
bool |
native | ) |
|
|
static |
Gets an instance of this interface using a native or non-native (Qt) implementation.
Qt non-native is only available when compiled and linked with Qt.
- Parameters
-
native | False for creating Qt implementation. |
- Returns
◆ mapView()
virtual bool sf::IFileMapper::mapView |
( |
| ) |
|
|
pure virtual |
◆ unmapView()
virtual bool sf::IFileMapper::unmapView |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: