ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Public Methods | List of all members
Runnable Class Referenceabstract

#include <thread.hpp>

Inheritance diagram for Runnable:
[legend]

Class 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 84 of file thread.hpp.

Public Methods

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

Constructor & Destructor Documentation

◆ ~Runnable()

virtual ~Runnable ( )
inlinevirtual

Virtual destructor.

Definition at line 88 of file thread.hpp.

Member Function Documentation

◆ 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: