This is a virtual abstract (interface) type that provides the executable method for an associated Thread.
Objects of this type may be passed to the constructor of class Thread. The default implementation of method virtual void Run() override will then invoke method Run of this class.
Definition at line 89 of file thread.inl.
Public Method Index: | |
| virtual | ~Runnable () |
| Virtual destructor. | |
| virtual void | Run ()=0 |
|
inlinevirtual |
Virtual destructor.
Definition at line 93 of file thread.inl.
|
pure virtual |
The method invoked by the default implementation of virtual void Run() override of the thread object that this runnable is associated with.
Implemented in alib::threadmodel::DedicatedWorker, alib::threadmodel::PoolWorker, alib::threadmodel::Trigger, and alib::threads::Thread.