libpsynth 0.2.1
Public Member Functions
psynth::self_thread Class Reference

A Thread that is also a Runnable which has itself automatically attached to the thread, so every start() call will thread itself's run() function. More...

#include <thread.hpp>

Inheritance diagram for psynth::self_thread:
Inheritance graph
[legend]
Collaboration diagram for psynth::self_thread:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~self_thread ()
 Virtual destructor.
 self_thread ()
 Constructor.

Detailed Description

A Thread that is also a Runnable which has itself automatically attached to the thread, so every start() call will thread itself's run() function.

Inherit from it to build such automatically threadable objects.


Constructor & Destructor Documentation

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

Virtual destructor.

psynth::self_thread::self_thread ( ) [inline]

Constructor.


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