lintel 0.2.0
Loading...
Searching...
No Matches
ISharedMemorySegmentManager.h
Go to the documentation of this file.
1#ifndef LINTEL_ISHAREDMEMORYSEGMENTMANAGER_H
2#define LINTEL_ISHAREDMEMORYSEGMENTMANAGER_H
3
4#include <memory>
5#include <string>
6#include <vector>
7
8namespace lintel {
9class SharedMemorySegment;
10
12{
13public:
14 virtual ~ISharedMemorySegmentManager() = default;
15
16 virtual std::shared_ptr<SharedMemorySegment> of(const std::string &sharedMemorySegmentName) = 0;
17
18 virtual std::vector<std::shared_ptr<SharedMemorySegment>> allOf(const std::string &segmentName = ".*") = 0;
19};
20
21}// namespace lintel
22#endif
Definition ISharedMemorySegmentManager.h:12
virtual std::shared_ptr< SharedMemorySegment > of(const std::string &sharedMemorySegmentName)=0
virtual ~ISharedMemorySegmentManager()=default
virtual std::vector< std::shared_ptr< SharedMemorySegment > > allOf(const std::string &segmentName=".*")=0
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9