Turi Create  4.0
turi::global_teardown Class Reference

#include <core/system/startup_teardown/startup_teardown.hpp>

Public Member Functions

void perform_teardown ()
 
 ~global_teardown ()
 

Detailed Description

This class centralizes all tear down functions allowing destruction to happen in a prescribed order.

TODO This can be more intelligent as required. For now, it is kinda dumb.

Definition at line 54 of file startup_teardown.hpp.

Constructor & Destructor Documentation

◆ ~global_teardown()

turi::global_teardown::~global_teardown ( )

Performs the teardown if teardown has not yet been performed.

Member Function Documentation

◆ perform_teardown()

void turi::global_teardown::perform_teardown ( )

Performs all the teardown calls immediately. Further calls to this function does nothing.


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