ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
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 85 of file thread.hpp.

#include <thread.hpp>

Inheritance diagram for Runnable:
[legend]

Public Method Index:

virtual ~Runnable ()
 
virtual void Run ()=0
 

Constructor(s) / Destructor Details::

◆ ~Runnable()

virtual ~Runnable ( )
inlinevirtual

Virtual destructor.

Definition at line 89 of file thread.hpp.

Method Details:

◆ Run()

virtual void 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 Thread.


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