Pol  Revision:cb584c9
Pol::Clib::Logging::LogFacility::LogWorker Class Reference
+ Inheritance diagram for Pol::Clib::Logging::LogFacility::LogWorker:

Public Member Functions

 LogWorker ()
 
 ~LogWorker ()
 
void exit ()
 
void send (const msg &msg_)
 

Private Types

typedef std::function< void()> msg
 
typedef message_queue< msgmsg_queue
 

Private Member Functions

void run ()
 

Private Attributes

bool _done
 
msg_queue _queue
 
std::thread _work_thread
 

Detailed Description

Definition at line 74 of file logfacility.cpp.

Member Typedef Documentation

typedef std::function<void()> Pol::Clib::Logging::LogFacility::LogWorker::msg
private

Definition at line 76 of file logfacility.cpp.

Constructor & Destructor Documentation

Pol::Clib::Logging::LogFacility::LogWorker::LogWorker ( )
inline

Definition at line 81 of file logfacility.cpp.

References Pol::ECompile::run().

Pol::Clib::Logging::LogFacility::LogWorker::~LogWorker ( )
inline

Definition at line 83 of file logfacility.cpp.

Member Function Documentation

void Pol::Clib::Logging::LogFacility::LogWorker::exit ( )
inline

Definition at line 91 of file logfacility.cpp.

void Pol::Clib::Logging::LogFacility::LogWorker::run ( )
inlineprivate

Definition at line 101 of file logfacility.cpp.

void Pol::Clib::Logging::LogFacility::LogWorker::send ( const msg msg_)
inline

Definition at line 97 of file logfacility.cpp.

Member Data Documentation

bool Pol::Clib::Logging::LogFacility::LogWorker::_done
private

Definition at line 119 of file logfacility.cpp.

msg_queue Pol::Clib::Logging::LogFacility::LogWorker::_queue
private

Definition at line 120 of file logfacility.cpp.

std::thread Pol::Clib::Logging::LogFacility::LogWorker::_work_thread
private

Definition at line 121 of file logfacility.cpp.


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