#include <mapping.h>
Definition at line 115 of file mapping.h.
◆ ReleaseProc
◆ NonOwnedMapping()
fml::NonOwnedMapping::NonOwnedMapping |
( |
const uint8_t * |
data, |
|
|
size_t |
size, |
|
|
const ReleaseProc & |
release_proc = nullptr , |
|
|
bool |
dontneed_safe = false |
|
) |
| |
Definition at line 91 of file mapping.cc.
97 release_proc_(release_proc),
98 dontneed_safe_(dontneed_safe) {}
constexpr std::size_t size(T(&array)[N])
std::shared_ptr< const fml::Mapping > data
◆ ~NonOwnedMapping()
fml::NonOwnedMapping::~NonOwnedMapping |
( |
| ) |
|
|
override |
Definition at line 100 of file mapping.cc.
100 {
101 if (release_proc_) {
102 release_proc_(data_, size_);
103 }
104}
◆ GetMapping()
const uint8_t * fml::NonOwnedMapping::GetMapping |
( |
| ) |
const |
|
overridevirtual |
◆ GetSize()
size_t fml::NonOwnedMapping::GetSize |
( |
| ) |
const |
|
overridevirtual |
◆ IsDontNeedSafe()
bool fml::NonOwnedMapping::IsDontNeedSafe |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: