OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
OpenALUpdateThread Class Reference

#include <OpenALUpdateThread.h>

Public Member Functions

 OpenALUpdateThread ()
 
virtual ~OpenALUpdateThread ()
 
void Start (int interval, std::function< void(void)> func)
 
void Stop ()
 
bool IsRunning () const noexcept
 

Private Attributes

std::atomic< bool > bRunning
 
std::thread theThread
 

Constructor & Destructor Documentation

◆ OpenALUpdateThread()

OpenALUpdateThread::OpenALUpdateThread ( )
inline

◆ ~OpenALUpdateThread()

virtual OpenALUpdateThread::~OpenALUpdateThread ( )
inlinevirtual

Member Function Documentation

◆ IsRunning()

bool OpenALUpdateThread::IsRunning ( ) const
inlinenoexcept

◆ Start()

void OpenALUpdateThread::Start ( int  interval,
std::function< void(void)>  func 
)
inline

◆ Stop()

void OpenALUpdateThread::Stop ( )
inline

Member Data Documentation

◆ bRunning

std::atomic<bool> OpenALUpdateThread::bRunning
private

◆ theThread

std::thread OpenALUpdateThread::theThread
private

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