ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::threads::Runnable Class Referenceabstract

Description:

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 Thread::Run will then invoke method Run of this class.

Definition at line 89 of file thread.inl.

Inheritance diagram for alib::threads::Runnable:
[legend]

Public Method Index:

virtual ~Runnable ()
 Virtual destructor.
 
virtual void Run ()=0
 

Constructor(s) / Destructor Details:

◆ ~Runnable()

virtual alib::threads::Runnable::~Runnable ( )
inlinevirtual

Virtual destructor.

Definition at line 93 of file thread.inl.

Method Details:

◆ Run()

virtual void alib::threads::Runnable::Run ( )
pure virtual

The method invoked by the default implementation of Thread::Run of the thread object that this runnable is associated with.

Implemented in alib::threadmodel::DedicatedWorker, alib::threadmodel::Trigger, and alib::threads::Thread.


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