trikRuntime
trikKernel::DeinitializationHelper Class Reference

RAII-style helper class that performs deferred deinitialization, intended to be used in main programs or test cases (with Q_UNUSED macro). More...

#include <deinitializationHelper.h>

Public Member Functions

 ~DeinitializationHelper ()
 Here is all the magic - runs zero-time event loop when this object is destroyed. More...
 

Detailed Description

RAII-style helper class that performs deferred deinitialization, intended to be used in main programs or test cases (with Q_UNUSED macro).

Runs zero-time event loop that processes all deleteLater() requests and so on, then shuts down.

Constructor & Destructor Documentation

DeinitializationHelper::~DeinitializationHelper ( )

Here is all the magic - runs zero-time event loop when this object is destroyed.


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