18 #ifndef LUNCHBOX_MEMORYMAP_H
19 #define LUNCHBOX_MEMORYMAP_H
22 #include <lunchbox/nonCopyable.h>
37 LUNCHBOX_API
MemoryMap(
const std::string& filename );
58 LUNCHBOX_API
const void*
map(
const std::string& filename );
61 LUNCHBOX_API
void unmap();
80 inline std::ostream&
operator << ( std::ostream& os,
const MemoryMap& m )
82 return os <<
"MemoryMap at " << m.getAddress() <<
" size " << m.getSize();
87 #endif //LUNCHBOX_MEMORYMAP_H