Kurlyk
Loading...
Searching...
No Matches
kurlyk::startup::AutoInitializer Class Reference

Automatically registers and manages network task managers. More...

#include <AutoInitializer.hpp>

Public Member Functions

 AutoInitializer ()
 Constructs and registers all available managers.
 ~AutoInitializer ()
 Stops the NetworkWorker before program termination.

Detailed Description

Automatically registers and manages network task managers.

This class ensures that managers like HttpRequestManager and WebSocketManager are registered to the NetworkWorker during construction, and properly shut down in reverse order during destruction.

Definition at line 17 of file AutoInitializer.hpp.

Constructor & Destructor Documentation

◆ AutoInitializer()

kurlyk::startup::AutoInitializer::AutoInitializer ( )
inline

Constructs and registers all available managers.

Definition at line 20 of file AutoInitializer.hpp.

◆ ~AutoInitializer()

kurlyk::startup::AutoInitializer::~AutoInitializer ( )
inline

Stops the NetworkWorker before program termination.

Definition at line 34 of file AutoInitializer.hpp.


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