lintel 0.2.0
Loading...
Searching...
No Matches
SharedMemorySegmentEntry.h
Go to the documentation of this file.
1#ifndef LINTEL_SHAREDMEMORYSEGMENTENTRY_H
2#define LINTEL_SHAREDMEMORYSEGMENTENTRY_H
3
4#include <memory>
5#include <ostream>
6
9
10namespace lintel {
13{
14private:
16 std::shared_ptr<SharedMemorySegment> m_sharedMemorySegment;
18 std::shared_ptr<std::filesystem::path> m_sharedMemoryPath;
19
20public:
24 SharedMemorySegmentEntry(std::string_view component, std::shared_ptr<SharedMemorySegment> sharedMemorySegment);
25
29 SharedMemorySegmentEntry(std::string_view component, std::shared_ptr<std::filesystem::path> path);
30
33 [[nodiscard]] const std::shared_ptr<SharedMemorySegment> &getSharedMemorySegment() const;
34
37 [[nodiscard]] const std::shared_ptr<std::filesystem::path> &getSharedMemoryPath() const;
38};
39
40}// namespace lintel
41#endif// LINTEL_SHAREDMEMORYSEGMENTENTRY_H
Definition Entry.h:10
Definition SharedMemorySegmentEntry.h:13
const std::shared_ptr< std::filesystem::path > & getSharedMemoryPath() const
SharedMemorySegmentEntry(std::string_view component, std::shared_ptr< SharedMemorySegment > sharedMemorySegment)
const std::shared_ptr< SharedMemorySegment > & getSharedMemorySegment() const
SharedMemorySegmentEntry(std::string_view component, std::shared_ptr< std::filesystem::path > path)
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9