ALib C++ Library
Library Version: 2412 R0
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 76 of file thread.hpp.

#include <thread.hpp>

Inheritance diagram for Runnable:
[legend]

Public Method Index:

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

Constructor(s) / Destructor Details:

◆ ~Runnable()

virtual ~Runnable ( )
inlinevirtual

Virtual destructor.

Definition at line 80 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 DedicatedWorker, Trigger, and Thread.


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