cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Public Member Functions | Public Attributes | List of all members
TestThread Struct Reference

Public Member Functions

 TestThread ()
 
 ~TestThread ()
 
void stop ()
 
void join ()
 
void sleep ()
 

Public Attributes

std::thread * t_
 
std::atomic< bool > stop_
 

Detailed Description

Definition at line 36 of file test_iostream.cpp.

Constructor & Destructor Documentation

◆ TestThread()

TestThread::TestThread ( )
inline

Definition at line 37 of file test_iostream.cpp.

◆ ~TestThread()

TestThread::~TestThread ( )
inline

Definition at line 46 of file test_iostream.cpp.

Member Function Documentation

◆ join()

void TestThread::join ( )
inline

Definition at line 52 of file test_iostream.cpp.

◆ sleep()

void TestThread::sleep ( )
inline

Definition at line 57 of file test_iostream.cpp.

◆ stop()

void TestThread::stop ( )
inline

Definition at line 50 of file test_iostream.cpp.

Member Data Documentation

◆ stop_

std::atomic<bool> TestThread::stop_

Definition at line 63 of file test_iostream.cpp.

◆ t_

std::thread* TestThread::t_

Definition at line 62 of file test_iostream.cpp.


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