Consolix
Loading...
Searching...
No Matches
consolix::LoggerComponent Class Reference

Fallback LoggerComponent when LogIt is disabled. More...

#include <LoggerComponent.hpp>

Inheritance diagram for consolix::LoggerComponent:
consolix::IAppComponent

Public Member Functions

 LoggerComponent ()=default
 
virtual ~LoggerComponent ()=default
 
- Public Member Functions inherited from consolix::IAppComponent
virtual ~IAppComponent ()=default
 Virtual destructor for polymorphic usage.
 

Protected Member Functions

bool initialize () override
 Initializes the component. This method is called once before the component is processed.
 
bool is_initialized () const override
 Checks if the component is initialized. Used to verify if the component is ready to be executed.
 
void process () override
 Executes the component's main logic. Called repeatedly during the application's main execution loop.
 

Detailed Description

Fallback LoggerComponent when LogIt is disabled.

Definition at line 225 of file LoggerComponent.hpp.

Constructor & Destructor Documentation

◆ LoggerComponent()

consolix::LoggerComponent::LoggerComponent ( )
default

◆ ~LoggerComponent()

virtual consolix::LoggerComponent::~LoggerComponent ( )
virtualdefault

Member Function Documentation

◆ initialize()

bool consolix::LoggerComponent::initialize ( )
inlineoverrideprotectedvirtual

Initializes the component. This method is called once before the component is processed.

Returns
true if the initialization is successful, false otherwise.

Implements consolix::IAppComponent.

Definition at line 233 of file LoggerComponent.hpp.

◆ is_initialized()

bool consolix::LoggerComponent::is_initialized ( ) const
inlineoverrideprotectedvirtual

Checks if the component is initialized. Used to verify if the component is ready to be executed.

Returns
true if the component is initialized, false otherwise.

Implements consolix::IAppComponent.

Definition at line 234 of file LoggerComponent.hpp.

◆ process()

void consolix::LoggerComponent::process ( )
inlineoverrideprotectedvirtual

Executes the component's main logic. Called repeatedly during the application's main execution loop.

Implements consolix::IAppComponent.

Definition at line 235 of file LoggerComponent.hpp.


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