ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
threadschedule::auto_register_current_thread Class Reference

RAII registration of the calling thread in a portable registry. More...

#include <thread_registry.hpp>

Public Member Functions

 auto_register_current_thread (std::string name={}, std::string component={})
 
 auto_register_current_thread (thread_registry &registry, std::string name={}, std::string component={})
 
 ~auto_register_current_thread ()
 
 auto_register_current_thread (auto_register_current_thread const &)=delete
 
auto operator= (auto_register_current_thread const &) -> auto_register_current_thread &=delete
 
 auto_register_current_thread (auto_register_current_thread &&other) noexcept
 
auto operator= (auto_register_current_thread &&other) noexcept -> auto_register_current_thread &
 

Detailed Description

RAII registration of the calling thread in a portable registry.

Definition at line 425 of file thread_registry.hpp.

Constructor & Destructor Documentation

◆ auto_register_current_thread() [1/4]

threadschedule::auto_register_current_thread::auto_register_current_thread ( std::string  name = {},
std::string  component = {} 
)
inlineexplicit

Definition at line 428 of file thread_registry.hpp.

◆ auto_register_current_thread() [2/4]

threadschedule::auto_register_current_thread::auto_register_current_thread ( thread_registry registry,
std::string  name = {},
std::string  component = {} 
)
inlineexplicit

Definition at line 433 of file thread_registry.hpp.

◆ ~auto_register_current_thread()

threadschedule::auto_register_current_thread::~auto_register_current_thread ( )
inline

Definition at line 455 of file thread_registry.hpp.

◆ auto_register_current_thread() [3/4]

threadschedule::auto_register_current_thread::auto_register_current_thread ( auto_register_current_thread const &  )
delete

◆ auto_register_current_thread() [4/4]

threadschedule::auto_register_current_thread::auto_register_current_thread ( auto_register_current_thread &&  other)
inlinenoexcept

Definition at line 463 of file thread_registry.hpp.

Member Function Documentation

◆ operator=() [1/2]

auto threadschedule::auto_register_current_thread::operator= ( auto_register_current_thread &&  other) -> auto_register_current_thread&
inlinenoexcept

Definition at line 473 of file thread_registry.hpp.

◆ operator=() [2/2]

auto threadschedule::auto_register_current_thread::operator= ( auto_register_current_thread const &  ) -> auto_register_current_thread &=delete
delete

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