libpsynth 0.2.1
Public Member Functions
psynth::runnable Class Reference

Class with a run function. More...

#include <thread.hpp>

Inheritance diagram for psynth::runnable:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~runnable ()
virtual void run ()=0
 Function to be run in a thread.

Detailed Description

Class with a run function.

If you inherit from this class and attach it to a Thread the run() function will be run in a new thread. You can use it anyways for any other purpose where a virtual run function makes sense.


Constructor & Destructor Documentation

virtual psynth::runnable::~runnable ( ) [inline, virtual]

Member Function Documentation

virtual void psynth::runnable::run ( ) [pure virtual]

Function to be run in a thread.


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