libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::setter< TT, new_priority > Class Template Referencefinal

The internal class that does the priority setting and restoration as RAII. More...

#include <thread_client_context.hpp>

Public Types

typedef TT thread_traits
 
typedef thread_traits::api_params_type::priority_type priority_type
 

Public Member Functions

void set () noexcept(true) FORCE_INLINE
 
void reset () noexcept(true) FORCE_INLINE
 
__stdcall setter (typename thread_traits::api_params_type::handle_type thr) noexcept(true) FORCE_INLINE
 
 setter (setter const &)=delete
 
__stdcall ~setter () noexcept(true) FORCE_INLINE
 

Detailed Description

template<class TT, typename TT::api_params_type::priority_type new_priority>
class jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::setter< TT, new_priority >

The internal class that does the priority setting and restoration as RAII.

See also
set_priority_closure, set_priority_work

Definition at line 60 of file thread_client_context.hpp.

Member Typedef Documentation

◆ priority_type

template<class TT , typename TT::api_params_type::priority_type new_priority>
typedef thread_traits::api_params_type::priority_type jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::setter< TT, new_priority >::priority_type

Definition at line 63 of file thread_client_context.hpp.

◆ thread_traits

template<class TT , typename TT::api_params_type::priority_type new_priority>
typedef TT jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::setter< TT, new_priority >::thread_traits

Definition at line 62 of file thread_client_context.hpp.

Constructor & Destructor Documentation

◆ setter() [1/2]

template<class TT , typename TT::api_params_type::priority_type new_priority>
__stdcall jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::setter< TT, new_priority >::setter ( typename thread_traits::api_params_type::handle_type  thr)
inlineexplicitnoexcept

◆ setter() [2/2]

template<class TT , typename TT::api_params_type::priority_type new_priority>
jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::setter< TT, new_priority >::setter ( setter< TT, new_priority > const &  )
delete

◆ ~setter()

template<class TT , typename TT::api_params_type::priority_type new_priority>
__stdcall jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::setter< TT, new_priority >::~setter ( )
inlinenoexcept

Member Function Documentation

◆ reset()

template<class TT , typename TT::api_params_type::priority_type new_priority>
void jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::setter< TT, new_priority >::reset ( void  )
inlinenoexcept

◆ set()

template<class TT , typename TT::api_params_type::priority_type new_priority>
void jmmcg::LIBJMMCG_VER_NAMESPACE::ppd::private_::setter< TT, new_priority >::set ( )
inlinenoexcept

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