2#ifndef _CONSOLIX_IAPPLICATION_COMPONENT_HPP_INCLUDED
3#define _CONSOLIX_IAPPLICATION_COMPONENT_HPP_INCLUDED
Interface for defining application components.
virtual bool initialize()=0
Initializes the component. This method is called once before the component is processed.
virtual void process()=0
Executes the component's main logic. Called repeatedly during the application's main execution loop.
virtual ~IAppComponent()=default
Virtual destructor for polymorphic usage.
friend class AppComponentManager
Grants access to AppComponentManager.
virtual bool is_initialized() const =0
Checks if the component is initialized. Used to verify if the component is ready to be executed.
< Utility modules and helpers.