Runnable abstract Class.
More...
#include <runnable.h>
|
virtual void | Run ()=0 |
| Method to execute when thread is started.
|
|
|
std::atomic< bool > | _stop |
| True if the thread should be stopped.
|
|
Runnable abstract Class.
Represents a class that can be used in a multithreaded way
virtual Runnable::~Runnable |
( |
| ) |
|
|
virtual |
Destructor. Stops thread.
virtual void Runnable::Run |
( |
| ) |
|
|
protectedpure virtual |
Method to execute when thread is started.
Implemented in GridNetwork.
std::atomic<bool> Runnable::_stop |
|
protected |
True if the thread should be stopped.
std::thread Runnable::_thread |
|
private |
The documentation for this class was generated from the following file: