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

#include <CommandLineService.h>

Inheritance diagram for lintel::CommandLineService:
lintel::AbstractService< CommandLineService > lintel::AbstractServiceInterface

Public Member Functions

 CommandLineService (const std::vector< std::shared_ptr< CommandLineComponent > > &components, std::shared_ptr< AuthCliService > authCliService, std::shared_ptr< UserApi > userApi, std::shared_ptr< CommandLineUtils > commandLineUtils, std::shared_ptr< IInputService > inputService, std::shared_ptr< ITerminalService > terminalService, const std::shared_ptr< ProcessName > &processName, std::shared_ptr< CommandLineHistoryService > commandLineHistoryService)
 
virtual ~CommandLineService ()
 
void onInitialize () override
 
void onShutdown () override
 
- Public Member Functions inherited from lintel::AbstractService< CommandLineService >
 AbstractService ()=delete
 
 AbstractService (std::string processName, std::string instanceName)
 
 AbstractService (std::string processName)
 
ShutdownPriority shutdownPriorityOf () const override
 
const std::string & getProcessName () const override
 
const std::string & getInstanceName () const override
 
std::string_view getClassName () const override
 
- Public Member Functions inherited from lintel::AbstractServiceInterface
virtual ~AbstractServiceInterface ()=default
 

Additional Inherited Members

- Protected Attributes inherited from lintel::AbstractService< CommandLineService >
std::vector< std::shared_ptr< PropertyBase > > m_properties
 

Detailed Description

Main service that drives the interactive command-line interface

Constructor & Destructor Documentation

◆ CommandLineService()

lintel::CommandLineService::CommandLineService ( const std::vector< std::shared_ptr< CommandLineComponent > > &  components,
std::shared_ptr< AuthCliService >  authCliService,
std::shared_ptr< UserApi >  userApi,
std::shared_ptr< CommandLineUtils >  commandLineUtils,
std::shared_ptr< IInputService >  inputService,
std::shared_ptr< ITerminalService >  terminalService,
const std::shared_ptr< ProcessName > &  processName,
std::shared_ptr< CommandLineHistoryService >  commandLineHistoryService 
)
explicit

◆ ~CommandLineService()

virtual lintel::CommandLineService::~CommandLineService ( )
virtual

Member Function Documentation

◆ onInitialize()

void lintel::CommandLineService::onInitialize ( )
overridevirtual

Default initialization does nothing; override in subclasses.

Reimplemented from lintel::AbstractService< CommandLineService >.

◆ onShutdown()

void lintel::CommandLineService::onShutdown ( )
overridevirtual

Default shutdown does nothing; override in subclasses.

Reimplemented from lintel::AbstractService< CommandLineService >.


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