lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lintel::SharedMemorySegmentEntry Class Reference

#include <SharedMemorySegmentEntry.h>

Inheritance diagram for lintel::SharedMemorySegmentEntry:
lintel::Entry

Public Member Functions

 SharedMemorySegmentEntry (std::string_view component, std::shared_ptr< SharedMemorySegment > sharedMemorySegment)
 
 SharedMemorySegmentEntry (std::string_view component, std::shared_ptr< std::filesystem::path > path)
 
const std::shared_ptr< SharedMemorySegment > & getSharedMemorySegment () const
 
const std::shared_ptr< std::filesystem::path > & getSharedMemoryPath () const
 
- Public Member Functions inherited from lintel::Entry
 Entry (std::string_view component)
 
constexpr std::string_view getConfigurationParserComponent () const
 

Detailed Description

Configuration entry for a shared memory segment

Constructor & Destructor Documentation

◆ SharedMemorySegmentEntry() [1/2]

lintel::SharedMemorySegmentEntry::SharedMemorySegmentEntry ( std::string_view  component,
std::shared_ptr< SharedMemorySegment >  sharedMemorySegment 
)

Construct a shared memory segment entry

Parameters
componentThe configuration component name
sharedMemorySegmentThe shared memory segment model

◆ SharedMemorySegmentEntry() [2/2]

lintel::SharedMemorySegmentEntry::SharedMemorySegmentEntry ( std::string_view  component,
std::shared_ptr< std::filesystem::path >  path 
)

Construct a shared memory path entry

Parameters
componentThe configuration component name
pathThe shared memory filesystem path

Member Function Documentation

◆ getSharedMemoryPath()

const std::shared_ptr< std::filesystem::path > & lintel::SharedMemorySegmentEntry::getSharedMemoryPath ( ) const

Get the shared memory filesystem path

Returns
The path shared pointer

◆ getSharedMemorySegment()

const std::shared_ptr< SharedMemorySegment > & lintel::SharedMemorySegmentEntry::getSharedMemorySegment ( ) const

Get the shared memory segment model

Returns
The segment shared pointer

The documentation for this class was generated from the following file: