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

#include <ProcessEntry.h>

Inheritance diagram for lintel::ProcessEntry:
lintel::Entry

Public Member Functions

 ProcessEntry (std::string_view component, std::shared_ptr< Process > process)
 
 ProcessEntry (std::string_view component, std::shared_ptr< ProcessGroup > processGroup)
 
const std::shared_ptr< Process > & getProcess () const
 
const std::shared_ptr< ProcessGroup > & getProcessGroup () 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 process or process group

Constructor & Destructor Documentation

◆ ProcessEntry() [1/2]

lintel::ProcessEntry::ProcessEntry ( std::string_view  component,
std::shared_ptr< Process >  process 
)

Construct a process entry

Parameters
componentThe configuration component name
processThe process model

◆ ProcessEntry() [2/2]

lintel::ProcessEntry::ProcessEntry ( std::string_view  component,
std::shared_ptr< ProcessGroup >  processGroup 
)

Construct a process group entry

Parameters
componentThe configuration component name
processGroupThe process group model

Member Function Documentation

◆ getProcess()

const std::shared_ptr< Process > & lintel::ProcessEntry::getProcess ( ) const

Get the process model

Returns
The process shared pointer

◆ getProcessGroup()

const std::shared_ptr< ProcessGroup > & lintel::ProcessEntry::getProcessGroup ( ) const

Get the process group model

Returns
The process group shared pointer

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