Developer documentation
Version 3.0.3-105-gd3941f44
MR::Thread::__Backend Class Reference

#include "thread.h"

Public Member Functions

 __Backend ()
 
 ~__Backend ()
 

Static Public Member Functions

static void register_thread ()
 
static void unregister_thread ()
 
static bool valid ()
 
static void thread_print_func (const std::string &msg)
 
static void thread_report_to_user_func (const std::string &msg, int type)
 

Static Public Attributes

static void(* previous_print_func )(const std::string &msg)
 
static void(* previous_report_to_user_func )(const std::string &msg, int type)
 

Protected Attributes

size_t refcount
 

Static Protected Attributes

static __Backendbackend
 
static std::mutex mutex
 

Detailed Description

Definition at line 61 of file thread.h.

Constructor & Destructor Documentation

◆ __Backend()

MR::Thread::__Backend::__Backend ( )

◆ ~__Backend()

MR::Thread::__Backend::~__Backend ( )

Member Function Documentation

◆ register_thread()

static void MR::Thread::__Backend::register_thread ( )
inlinestatic

Definition at line 66 of file thread.h.

◆ thread_print_func()

static void MR::Thread::__Backend::thread_print_func ( const std::string &  msg)
static

◆ thread_report_to_user_func()

static void MR::Thread::__Backend::thread_report_to_user_func ( const std::string &  msg,
int  type 
)
static

◆ unregister_thread()

static void MR::Thread::__Backend::unregister_thread ( )
inlinestatic

Definition at line 72 of file thread.h.

◆ valid()

static bool MR::Thread::__Backend::valid ( )
inlinestatic

Definition at line 81 of file thread.h.

Member Data Documentation

◆ backend

__Backend* MR::Thread::__Backend::backend
staticprotected

Definition at line 92 of file thread.h.

◆ mutex

std::mutex MR::Thread::__Backend::mutex
staticprotected

Definition at line 93 of file thread.h.

◆ previous_print_func

void(* MR::Thread::__Backend::previous_print_func) (const std::string &msg)
static

Definition at line 86 of file thread.h.

◆ previous_report_to_user_func

void(* MR::Thread::__Backend::previous_report_to_user_func) (const std::string &msg, int type)
static

Definition at line 87 of file thread.h.

◆ refcount

size_t MR::Thread::__Backend::refcount
protected

Definition at line 90 of file thread.h.


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