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
12
namespace
eso::uatools::protocol::base
{
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
eso::uatools::protocol::base::ICommMaker
Definition
iCommMaker.hpp:18
eso::uatools::protocol::base::ICommMaker::Create
virtual std::shared_ptr< IComm > Create(const std::string &filename) const =0
Accepts node to pass into Comms constructor.
eso::uatools::protocol::base::ICommMaker::~ICommMaker
virtual ~ICommMaker()
Definition
iCommMaker.hpp:26
eso::uatools::protocol::base::IComm
Definition
icomm_adapter_min_v1.hpp:183
eso::uatools::protocol::base
Definition
icomm_adapter_generic_v2.hpp:49
info
protocol_old
base
src
include
eso
uatools
protocol
base
iCommMaker.hpp
Generated by
1.13.2