Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
toolbox::sys::ThreadConfig Struct Reference

ThreadConfig holds the thread attributes. More...

#include <toolbox/sys/Thread.hpp>

Collaboration diagram for toolbox::sys::ThreadConfig:
Collaboration graph
[legend]

Public Member Functions

 ThreadConfig (std::string name, std::string affinity={}, std::string sched_policy={}) noexcept
 
 ThreadConfig () noexcept=default
 
 ~ThreadConfig () noexcept=default
 
 ThreadConfig (const ThreadConfig &)=default
 
ThreadConfigoperator= (const ThreadConfig &)=default
 
 ThreadConfig (ThreadConfig &&) noexcept=default
 
ThreadConfigoperator= (ThreadConfig &&) noexcept=default
 

Public Attributes

std::string name
 The thread's name.
 
std::string affinity
 The thread's affinity.
 
std::string sched_policy
 The thread's scheduling policy.
 

Detailed Description

ThreadConfig holds the thread attributes.

Definition at line 29 of file Thread.hpp.

Constructor & Destructor Documentation

◆ ThreadConfig() [1/4]

toolbox::sys::ThreadConfig::ThreadConfig ( std::string  name,
std::string  affinity = {},
std::string  sched_policy = {} 
)
inlinenoexcept

Definition at line 30 of file Thread.hpp.

◆ ThreadConfig() [2/4]

toolbox::sys::ThreadConfig::ThreadConfig ( )
defaultnoexcept

◆ ~ThreadConfig()

toolbox::sys::ThreadConfig::~ThreadConfig ( )
defaultnoexcept

◆ ThreadConfig() [3/4]

toolbox::sys::ThreadConfig::ThreadConfig ( const ThreadConfig )
default

◆ ThreadConfig() [4/4]

toolbox::sys::ThreadConfig::ThreadConfig ( ThreadConfig &&  )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

ThreadConfig & toolbox::sys::ThreadConfig::operator= ( const ThreadConfig )
default

◆ operator=() [2/2]

ThreadConfig & toolbox::sys::ThreadConfig::operator= ( ThreadConfig &&  )
defaultnoexcept

Member Data Documentation

◆ name

std::string toolbox::sys::ThreadConfig::name

The thread's name.

Definition at line 49 of file Thread.hpp.

◆ affinity

std::string toolbox::sys::ThreadConfig::affinity

The thread's affinity.

Definition at line 51 of file Thread.hpp.

◆ sched_policy

std::string toolbox::sys::ThreadConfig::sched_policy

The thread's scheduling policy.

Definition at line 53 of file Thread.hpp.


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