Diarkis C++Client Library API Document
DiarkisInterfaceBase::RuntimeThreadData Struct Reference

#include <DiarkisInterfaceBase.h>

Public Member Functions

 RuntimeThreadData ()
 
void Stop ()
 Stop the runtime thread. More...
 

Public Attributes

std::atomic< bool > isRunning_
 Runtime loop exit flag. More...
 
std::shared_ptr< Diarkis::System::DiarkisThreadruntimeThread_
 Runtime loop thread. More...
 
std::mutex sync_mutex_
 A mutex object that will be used by the condition_variable. More...
 
std::condition_variable sync_condition_
 A condition_variable that will be used for controlling the process launch timing. More...
 
bool noWait_
 Whether it need to enter the wait by using the condition variable. More...
 

Constructor & Destructor Documentation

◆ RuntimeThreadData()

DiarkisInterfaceBase::RuntimeThreadData::RuntimeThreadData ( )
inline

Member Function Documentation

◆ Stop()

void DiarkisInterfaceBase::RuntimeThreadData::Stop ( )

Stop the runtime thread.

Here is the caller graph for this function:

Member Data Documentation

◆ isRunning_

std::atomic<bool> DiarkisInterfaceBase::RuntimeThreadData::isRunning_

Runtime loop exit flag.

◆ runtimeThread_

std::shared_ptr<Diarkis::System::DiarkisThread> DiarkisInterfaceBase::RuntimeThreadData::runtimeThread_

Runtime loop thread.

◆ sync_mutex_

std::mutex DiarkisInterfaceBase::RuntimeThreadData::sync_mutex_

A mutex object that will be used by the condition_variable.

◆ sync_condition_

std::condition_variable DiarkisInterfaceBase::RuntimeThreadData::sync_condition_

A condition_variable that will be used for controlling the process launch timing.

◆ noWait_

bool DiarkisInterfaceBase::RuntimeThreadData::noWait_

Whether it need to enter the wait by using the condition variable.


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