lintel 0.2.0
Loading...
Searching...
No Matches
EventBusComponent.h
Go to the documentation of this file.
1#ifndef LINTEL_EVENTBUSCOMPONENT_H
2#define LINTEL_EVENTBUSCOMPONENT_H
3
4#include <memory>
5
9
10namespace lintel {
13{
14private:
16 static const struct Shapes
17 {
18 const char *const ROOT = "EventBuses";
19 const char *const EVENT_BUS_ROOT = "EventBus";
20 const char *const EVENT_BUS_NAME = "name";
21 const char *const EVENT_BUS_SEGMENT = "segment";
22 const char *const EVENT_BUS_CAPACITY = "bus_capacity";
23 const char *const EVENT_BUS_SUBSCRIBER_CAPACITY = "subscriber_capacity";
24 const char *const EVENT_BUS_MAX_TOPICS = "max_topics";
25 const char *const EVENT_BUS_MAX_SUBSCRIBERS = "max_subscribers";
26 } shape;
27
28public:
31
37 std::vector<std::shared_ptr<Entry>>
38 parse(const std::string &content, int32_t lineOffset, const std::string &fileName) override;
39};
40
41}// namespace lintel
42#endif// LINTEL_EVENTBUSCOMPONENT_H
Definition Component.h:13
Definition EventBusComponent.h:13
std::vector< std::shared_ptr< Entry > > parse(const std::string &content, int32_t lineOffset, const std::string &fileName) override
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9