uatools 1.0.0
 
Loading...
Searching...
No Matches
iCommMaker.hpp
Go to the documentation of this file.
1
6
7#ifndef ESO_UATOOLS_PROTOCOL_BASE_ICOMMMAKER_HPP
8#define ESO_UATOOLS_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 // ESO_UATOOLS_PROTOCOL_BASE_ICOMMMAKER_HPP
Definition iCommMaker.hpp:18
virtual std::shared_ptr< IComm > Create(const std::string &filename) const =0
Accepts node to pass into Comms constructor.
virtual ~ICommMaker()
Definition iCommMaker.hpp:26
Definition icomm_adapter_min_v1.hpp:183
Definition icomm_adapter_generic_v2.hpp:49