Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
startable_base.h File Reference

Base class for components with start/stop lifecycle. More...

#include <atomic>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include "kcenon/network/detail/utils/lifecycle_manager.h"
#include "kcenon/network/detail/utils/result_types.h"
Include dependency graph for startable_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::network::utils::startable_base< Derived >
 CRTP base class providing unified start/stop lifecycle management. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::network
 Main namespace for all Network System components.
 
namespace  kcenon::network::utils
 Utility components for network_system.
 

Detailed Description

Base class for components with start/stop lifecycle.

CRTP base class providing unified start/stop lifecycle management.

See also
lifecycle_manager.h

Extracts the common start/stop lifecycle pattern from client and server implementations with thread-safe state transitions.

Definition in file startable_base.h.