API Documentation
Loading...
Searching...
No Matches
AsciiWriteThread Class Referencefinal
Inheritance diagram for AsciiWriteThread:
[legend]
Collaboration diagram for AsciiWriteThread:
[legend]

Public Member Functions

void addMessage (const LogMessage &message)
 
void addMessages (const Buffer< LogMessage > &messages)
 
 AsciiWriteThread (const File &file, const bool append)
 
Filefile ()
 
const Filefile () const
 
void run () override
 
void setFile (const File &file, bool append)
 
void stopThread () override
 
void writeQueueToFile ()
 
virtual ~AsciiWriteThread () override
 
- Public Member Functions inherited from Thread
void detach ()
 
void forceStop ()
 
bool isPrimaryThread () const
 
bool isRunning () const
 
void join ()
 
virtual void requestStopThread ()
 
void setIsPrimaryThread (bool is_primary_thread)
 
void setThreadName (const String &name)
 
virtual bool shouldExitThread () const
 
void start ()
 
 Thread ()
 
 Thread (const String &name)
 
 Thread (const Thread &name)=delete
 
const StringthreadName () const
 
virtual ~Thread ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Thread
static ThreadCurrentThread ()
 
static String CurrentThreadName ()
 
static void ServiceVirtualThreads ()
 
static void SetCurrentThreadName (const String &name)
 
static void StopAllThreads ()
 
- Protected Member Functions inherited from Thread
const std::thread & self ()
 
- Static Protected Member Functions inherited from Thread
static void _setThreadName (const String &name)
 
static uint08 GetThreadCount ()
 
- Protected Attributes inherited from Thread
volatile bool m_is_running = false
 
volatile bool m_is_single_run = true
 

Constructor & Destructor Documentation

◆ AsciiWriteThread()

AsciiWriteThread ( const File & file,
const bool append )
inline

◆ ~AsciiWriteThread()

virtual ~AsciiWriteThread ( )
inlineoverridevirtual

Member Function Documentation

◆ addMessage()

void addMessage ( const LogMessage & message)
inline

◆ addMessages()

void addMessages ( const Buffer< LogMessage > & messages)
inline

◆ file() [1/2]

File & file ( )
inline

◆ file() [2/2]

const File & file ( ) const
inline

◆ run()

void run ( )
inlineoverridevirtual

Reimplemented from Thread.

◆ setFile()

void setFile ( const File & file,
bool append )
inline

◆ stopThread()

void stopThread ( )
inlineoverridevirtual

Reimplemented from Thread.

◆ writeQueueToFile()

void writeQueueToFile ( )
inline

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