ddt
0.1
datatransfer
datatransferlib
src
include
ddt
ddtDataTransferFactory.hpp
Go to the documentation of this file.
1
// @copyright
2
// (c) Copyright ESO 2020
3
// All Rights Reserved
4
// ESO (eso.org) is an Intergovernmental Organization, and therefore special
5
// legal conditions apply.
6
//
7
// @file ddtDataTransferFactory.hpp
8
// @brief Factory for DdtDataPublishers and DdtDataSubscribers.
9
//
10
// This class provides factory methods for creating DdtDataPublishers and
11
// DdtDataSubscribers.
12
//
13
// @author Matthias Grimm, CGI
14
// @since 2020/01/16
15
//
16
17
#ifndef DDTDATATRANSFERFACTORY_HPP_
18
#define DDTDATATRANSFERFACTORY_HPP_
19
20
#include "
ddt/ddtDataPublisher.hpp
"
21
#include "
ddt/ddtDataSubscriber.hpp
"
22
#include "
ddt/ddtLogger.hpp
"
23
24
namespace
ddt
{
25
30
class
DdtDataTransferFactory
{
31
public
:
35
static
std::unique_ptr<DdtDataPublisher>
CreatePublisher
(
DdtLogger
* logger);
36
40
static
std::unique_ptr<DdtDataPublisher>
CreatePublisher
(
41
log4cplus::Logger
const
& log4cplusLogger);
42
46
static
std::unique_ptr<DdtDataSubscriber>
CreateSubscriber
(
DdtLogger
* logger);
47
51
static
std::unique_ptr<DdtDataSubscriber>
CreateSubscriber
(
52
log4cplus::Logger
const
& log4cplusLogger);
53
};
54
55
}
// namespace ddt
56
57
#endif
/* DDTDATATRANSFERFACTORY_HPP_ */
ddt::DdtDataTransferFactory::CreatePublisher
static std::unique_ptr< DdtDataPublisher > CreatePublisher(DdtLogger *logger)
Definition:
ddtDataTransferFactory.cpp:22
ddt::DdtLogger
Definition:
ddtLogger.hpp:48
ddt
Definition:
ddtClient.hpp:36
ddt::DdtDataTransferFactory::CreateSubscriber
static std::unique_ptr< DdtDataSubscriber > CreateSubscriber(DdtLogger *logger)
Definition:
ddtDataTransferFactory.cpp:35
ddtDataSubscriber.hpp
ddtDataPublisher.hpp
ddtLogger.hpp
ddt::DdtDataTransferFactory
Definition:
ddtDataTransferFactory.hpp:30
Generated by
1.8.20