  | 
  
    Diarkis C++Client Library API Document
    
   | 
 
 
 
 
Go to the documentation of this file.
   63         const std::shared_ptr<ILoggerBackend> loggerBackend_;
 
   64         std::shared_ptr<Diarkis::System::DiarkisThread> thread_;
 
   65         std::atomic<bool> isRunning_;
 
  
 
Class for outputting logs using threads.
Definition: ThreadedLoggerBackend.h:23
 
ThreadedLoggerBackend(std::shared_ptr< ILoggerBackend > loggerBackend, bool bDirect=false)
Constructor for ThreadedLoggerBackend.
Definition: ThreadedLoggerBackend.cpp:15
 
ThreadFunc func
Pointer to function to be invoked by thread.
Definition: Thread.h:95
 
Definition: results.autogen.h:10
 
void Stop()
Stop the logging thread.
Definition: ThreadedLoggerBackend.cpp:41
 
Contains information about a specific result value. Can be compared against another Result structure....
Definition: result.h:37
 
DiarkisThreadPriority priority
Definition: Thread.h:91
 
virtual ~ThreadedLoggerBackend()
ThreadedLoggerBackend destructor.
Definition: ThreadedLoggerBackend.cpp:37
 
Parameters for thread startup.
Definition: Thread.h:85
 
uint32_t affinityMask
CPU affinity mask.
Definition: Thread.h:97
 
Interface class for AggregateLoggerBackend, ConsoleLoggerBackend, StreamLoggerBackend,...
Definition: LoggerBackend.h:17
 
Diarkis::StdString name
Thread name (PS4: up to 32 bytes including the terminating NULL character) or NULL.
Definition: Thread.h:89
 
DIARKIS_EXPORT System::Result SUCCESS
Everything went according to plan. (status: NONE, value: 0)
 
std::queue< T, StdDeque< T > > StdQueue
Definition: common.h:529
 
uint32_t stackSize
Stack size of the thread.
Definition: Thread.h:99
 
Result Log(const Diarkis::StdString &message, bool includeNewLine=true) override
Outputs a log of specified messages.
Definition: ThreadedLoggerBackend.cpp:59