Class CMemFileMap

Class Documentation

class CMemFileMap

Public Functions

CMemFileMap() = default
~CMemFileMap()
void Stop()
bool AddFile(const std::string &name_, bool create_, size_t len_, SMemFileInfo &mem_file_info_)
bool RemoveFile(const std::string &name_, bool remove_)
bool CheckFileSize(const std::string &name_, size_t len_, SMemFileInfo &mem_file_info_)

Protected Types

using MemFileMapT = std::unordered_map<std::string, SMemFileInfo>

Protected Attributes

std::mutex m_memfile_map_mtx
MemFileMapT m_memfile_map