lintel
0.2.0
Loading...
Searching...
No Matches
src
include
lintel
features
base
configuration
HistoryComponent.h
Go to the documentation of this file.
1
#ifndef LINTEL_HISTORYCOMPONENT_H
2
#define LINTEL_HISTORYCOMPONENT_H
3
4
#include <cstdint>
5
#include <memory>
6
#include <string>
7
#include <vector>
8
9
#include "
lintel/core/configuration/Component.h
"
10
#include "
lintel/core/configuration/Entry.h
"
11
12
namespace
lintel
{
14
class
HistoryComponent
:
public
Component
15
{
16
private
:
18
static
const
struct
Shapes
19
{
20
const
char
*
const
CONFIG_ROOT =
"HistoryServices"
;
21
const
char
*
const
HISTORY_ROOT =
"HistoryService"
;
22
const
char
*
const
PROCESS_NAME =
"process_name"
;
23
const
char
*
const
QUEUE =
"queue"
;
24
const
char
*
const
MAX_MESSAGES =
"max_messages"
;
25
} shape;
26
27
public
:
29
HistoryComponent
();
30
36
std::vector<std::shared_ptr<Entry>>
37
parse
(
const
std::string &content,
int32_t
lineOffset
,
const
std::string &
fileName
)
override
;
38
};
39
40
}
// namespace lintel
41
#endif
// LINTEL_HISTORYCOMPONENT_H
Component.h
Entry.h
lintel::Component
Definition
Component.h:13
lintel::HistoryComponent
Definition
HistoryComponent.h:15
lintel::HistoryComponent::parse
std::vector< std::shared_ptr< Entry > > parse(const std::string &content, int32_t lineOffset, const std::string &fileName) override
lintel::HistoryComponent::HistoryComponent
HistoryComponent()
lintel
Definition
BaseFeature.h:6
lintel::type_name
constexpr std::string_view type_name()
Definition
TypeName.h:9
Generated by
1.9.8