ifw-core 7.0.0
 
Loading...
Searching...
No Matches
iCommMaker.hpp
Go to the documentation of this file.
1
6
7#ifndef CORE_PROTOCOL_BASE_ICOMMMAKER_HPP
8#define CORE_PROTOCOL_BASE_ICOMMMAKER_HPP
9
10#include <memory>
11
13
14 class IComm;
15
16 // ICommMaker is a public parent of all Comm makers
17 // It represents a function to be invoked when creating new Comm
18 class ICommMaker {
19 public:
20
22
24
25 virtual std::shared_ptr<IComm> Create(const std::string& filename) const = 0;
26 virtual ~ICommMaker() {}
27
28 };
29}
30
31#endif // CORE_PROTOCOL_BASE_ICOMMMAKER_HPP
Definition iCommMaker.hpp:18
virtual ~ICommMaker()
Definition iCommMaker.hpp:26
virtual std::shared_ptr< IComm > Create(const std::string &filename) const =0
Accepts node to pass into Comms constructor.
Definition iComm.hpp:48
Definition commFactory.cpp:13