#include "ActionThread.h" // Inhalt der ActionThread Klasse // Konstruktor ActionThread::ActionThread( std::function ak ) { action = ak; start(); } // Führt die Threadaktion aus void ActionThread::thread() { action(); } // Wird am ende des Threads ausgeführt void ActionThread::threadEnd() { delete this; }