42const std::shared_ptr<RlogFile>&
45 auto it =
fMap.find(name);
46 if (it !=
fMap.end())
return it->second;
48 std::shared_ptr<RlogFile> sptr(
new RlogFile());
49 auto pitb =
fMap.emplace(make_pair(name, sptr));
51 return pitb.first->second;
~RlogFileCatalog()
Destructor.
map_t fMap
name->rlogfile map
void Delete(const std::string &name)
FIXME_docs.
RlogFileCatalog()
Default constructor.
const std::shared_ptr< RlogFile > & FindOrCreate(const std::string &name)
FIXME_docs.
static RlogFileCatalog & Obj()
FIXME_docs.
Declaration of class ReventLoop.