proxygen
ThreadLoggingSingleton Struct Reference

Public Member Functions

 ThreadLoggingSingleton ()
 
 ~ThreadLoggingSingleton ()
 

Static Public Attributes

static std::thread::id initThread {}
 
static std::thread::id destroyThread {}
 

Detailed Description

Definition at line 701 of file SingletonTest.cpp.

Constructor & Destructor Documentation

ThreadLoggingSingleton::ThreadLoggingSingleton ( )
inline

Definition at line 702 of file SingletonTest.cpp.

702  {
703  initThread = std::this_thread::get_id();
704  }
static std::thread::id initThread
ThreadLoggingSingleton::~ThreadLoggingSingleton ( )
inline

Definition at line 706 of file SingletonTest.cpp.

706  {
707  destroyThread = std::this_thread::get_id();
708  }
static std::thread::id destroyThread

Member Data Documentation

std::thread::id ThreadLoggingSingleton::destroyThread {}
static

Definition at line 711 of file SingletonTest.cpp.

Referenced by TEST().

std::thread::id ThreadLoggingSingleton::initThread {}
static

Definition at line 710 of file SingletonTest.cpp.

Referenced by TEST().


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