8#ifndef CORE_PROTOCOL_BASE_COMMFACTORY_HPP
9#define CORE_PROTOCOL_BASE_COMMFACTORY_HPP
29 std::shared_ptr<IComm>
Create(
const std::string& filename,
30 const std::string& name,
31 const std::string& interface)
const;
41 std::map<std::string, ICommMaker* > m_makers;
Definition commFactory.hpp:20
std::shared_ptr< IComm > Create(const std::string &filename, const std::string &name, const std::string &interface) const
Definition commFactory.cpp:28
void RegisterMaker(const std::string &key, ICommMaker *maker)
Definition commFactory.cpp:20
static CommFactory & Instance()
Definition commFactory.cpp:15
Definition iCommMaker.hpp:19
Definition commFactory.cpp:13