libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr Class Reference

#include <thread_params_traits.hpp>

Public Types

typedef pthread_attr_t element_type
 

Public Member Functions

 attr (const detach_state_type detach_state, const stack_size_type stack_size, const int scope) noexcept(false) FORCE_INLINE
 
 attr (const attr &a) noexcept(true) FORCE_INLINE
 
 attr (const element_type &a) noexcept(true) FORCE_INLINE
 
 ~attr (void) noexcept(true) FORCE_INLINE
 
attroperator= (const attr &a) noexcept(true) FORCE_INLINE
 
attroperator= (const creation_flags) noexcept(true) FORCE_INLINE
 
 operator const pthread_attr_t * () const noexcept(true) FORCE_INLINE
 
 operator pthread_attr_t * () noexcept(true) FORCE_INLINE
 
stack_size_type stack_size () const noexcept(true) FORCE_INLINE
 
detach_state_type detach_state () const noexcept(true) FORCE_INLINE
 

Friends

tostreamoperator<< (tostream &os, attr const &a) noexcept(false)
 

Detailed Description

template<>
class jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr

Definition at line 169 of file thread_params_traits.hpp.

Member Typedef Documentation

◆ element_type

Constructor & Destructor Documentation

◆ attr() [1/3]

jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr::attr ( const detach_state_type  detach_state,
const stack_size_type  stack_size,
const int  scope 
)
inlinenoexcept

Definition at line 173 of file thread_params_traits.hpp.

◆ attr() [2/3]

jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr::attr ( const attr &  a)
inlinenoexcept

Definition at line 222 of file thread_params_traits.hpp.

◆ attr() [3/3]

jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr::attr ( const element_type a)
inlineexplicitnoexcept

Definition at line 242 of file thread_params_traits.hpp.

◆ ~attr()

jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr::~attr ( void  )
inlinenoexcept

Definition at line 262 of file thread_params_traits.hpp.

Member Function Documentation

◆ detach_state()

Definition at line 306 of file thread_params_traits.hpp.

◆ operator const pthread_attr_t *()

jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr::operator const pthread_attr_t * ( ) const
inlinenoexcept

Definition at line 291 of file thread_params_traits.hpp.

◆ operator pthread_attr_t *()

jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr::operator pthread_attr_t * ( )
inlinenoexcept

Definition at line 295 of file thread_params_traits.hpp.

◆ operator=() [1/2]

attr& jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr::operator= ( const attr a)
inlinenoexcept

Definition at line 267 of file thread_params_traits.hpp.

◆ operator=() [2/2]

attr& jmmcg::ppd::thread_params< generic_traits::api_type::posix_pthreads >::attr::operator= ( const  creation_flags)
inlinenoexcept

Definition at line 287 of file thread_params_traits.hpp.

◆ stack_size()

Definition at line 299 of file thread_params_traits.hpp.

Friends And Related Function Documentation

◆ operator<<

tostream& operator<< ( tostream os,
attr const &  a 
)
friend

Definition at line 313 of file thread_params_traits.hpp.


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