FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Runtime::ScopeGuard Class Reference

Runtime scope guard class. More...

#include <runtime.hpp>

Public Member Functions

 ScopeGuard (int &argc, char **&argv)
 Runtime scope guard constructor. More...
 
 ~ScopeGuard ()
 Runtime scope guard destructor. More...
 

Detailed Description

Runtime scope guard class.

Definition at line 37 of file runtime.hpp.

Constructor & Destructor Documentation

◆ ScopeGuard()

FEAT::Runtime::ScopeGuard::ScopeGuard ( int &  argc,
char **&  argv 
)
inlineexplicit

Runtime scope guard constructor.

This constructor effectively calls Runtime::initialize().

Parameters
[in]argc,argvThe argument parameters of the calling main function.

Definition at line 48 of file runtime.hpp.

References FEAT::Runtime::initialize().

◆ ~ScopeGuard()

FEAT::Runtime::ScopeGuard::~ScopeGuard ( )
inline

Runtime scope guard destructor.

This destructor effectively calls Runtime::finalize().

Definition at line 58 of file runtime.hpp.

References FEAT::Runtime::finalize().


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