InspIRCd  4.0
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ConfigReaderThread Class Reference

#include <configreader.h>

Inheritance diagram for ConfigReaderThread:
Thread

Public Member Functions

 ConfigReaderThread (const std::string &uuid)
 
bool IsDone ()
 
- Public Member Functions inherited from Thread
virtual ~Thread ()=default
 
bool IsRunning () const
 
bool IsStopping () const
 
bool Start ()
 
bool Stop ()
 

Public Attributes

const std::string UUID
 

Protected Member Functions

void OnStart () override
 
void OnStop () override
 
- Protected Member Functions inherited from Thread
 Thread ()=default
 

Detailed Description

The background thread for config reading, so that reading from executable includes does not block.

Member Function Documentation

◆ IsDone()

bool ConfigReaderThread::IsDone ( )
inline

Whether the configuration has been read yet.

◆ OnStart()

void ConfigReaderThread::OnStart ( )
overrideprotectedvirtual

Callback which is executed on this thread after it has started.

Implements Thread.

◆ OnStop()

void ConfigReaderThread::OnStop ( )
overrideprotectedvirtual

Callback which is executed on the calling thread before this thread is stopped.

Reimplemented from Thread.


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