Class CMemFileMap

Class Documentation

class CMemFileMap

Public Functions

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

Protected Types

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

Protected Attributes

std::mutex m_memfile_map_mtx
MemFileMapT m_memfile_map