Public Member Functions | Private Member Functions | Private Attributes | List of all members
TestLogSinkWriter Class Reference
Inheritance diagram for TestLogSinkWriter:
Inheritance graph
[legend]

Public Member Functions

void Buffer (const string &message)
 
void Buffer (const string &message)
 
void Stop ()
 
void Stop ()
 
 TestLogSinkWriter ()
 
 TestLogSinkWriter ()
 
void Wait ()
 
void Wait ()
 
- Public Member Functions inherited from Thread
void SetJoinable (bool)
 
virtual ~Thread ()
 

Private Member Functions

bool HaveWork ()
 
bool HaveWork ()
 
bool NoWork ()
 
bool NoWork ()
 
virtual void Run ()
 
virtual void Run ()
 

Private Attributes

queue< stringmessages_
 
Mutex mutex_
 
bool should_exit_
 

Additional Inherited Members

Detailed Description

Definition at line 1046 of file logging_custom_prefix_unittest.cc.

Constructor & Destructor Documentation

◆ TestLogSinkWriter() [1/2]

TestLogSinkWriter::TestLogSinkWriter ( )
inline

Definition at line 1049 of file logging_custom_prefix_unittest.cc.

◆ TestLogSinkWriter() [2/2]

TestLogSinkWriter::TestLogSinkWriter ( )
inline

Definition at line 1153 of file logging_unittest.cc.

Member Function Documentation

◆ Buffer() [1/2]

void TestLogSinkWriter::Buffer ( const string message)
inline

Definition at line 1055 of file logging_custom_prefix_unittest.cc.

◆ Buffer() [2/2]

void TestLogSinkWriter::Buffer ( const string message)
inline

Definition at line 1159 of file logging_unittest.cc.

◆ HaveWork() [1/2]

bool TestLogSinkWriter::HaveWork ( )
inlineprivate

Definition at line 1088 of file logging_custom_prefix_unittest.cc.

◆ HaveWork() [2/2]

bool TestLogSinkWriter::HaveWork ( )
inlineprivate

Definition at line 1192 of file logging_unittest.cc.

◆ NoWork() [1/2]

bool TestLogSinkWriter::NoWork ( )
inlineprivate

Definition at line 1087 of file logging_custom_prefix_unittest.cc.

◆ NoWork() [2/2]

bool TestLogSinkWriter::NoWork ( )
inlineprivate

Definition at line 1191 of file logging_unittest.cc.

◆ Run() [1/2]

virtual void TestLogSinkWriter::Run ( )
inlineprivatevirtual

Implements Thread.

Definition at line 1091 of file logging_custom_prefix_unittest.cc.

◆ Run() [2/2]

virtual void TestLogSinkWriter::Run ( )
inlineprivatevirtual

Implements Thread.

Definition at line 1195 of file logging_unittest.cc.

◆ Stop() [1/2]

void TestLogSinkWriter::Stop ( )
inline

Definition at line 1077 of file logging_custom_prefix_unittest.cc.

◆ Stop() [2/2]

void TestLogSinkWriter::Stop ( )
inline

Definition at line 1181 of file logging_unittest.cc.

◆ Wait() [1/2]

void TestLogSinkWriter::Wait ( )
inline

Definition at line 1064 of file logging_custom_prefix_unittest.cc.

◆ Wait() [2/2]

void TestLogSinkWriter::Wait ( )
inline

Definition at line 1168 of file logging_unittest.cc.

Member Data Documentation

◆ messages_

queue< string > TestLogSinkWriter::messages_
private

Definition at line 1130 of file logging_custom_prefix_unittest.cc.

◆ mutex_

Mutex TestLogSinkWriter::mutex_
private

Definition at line 1128 of file logging_custom_prefix_unittest.cc.

◆ should_exit_

bool TestLogSinkWriter::should_exit_
private

Definition at line 1129 of file logging_custom_prefix_unittest.cc.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06