Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

AutoScopeInit Struct Reference

a class which relies on its constructor/destructor pair to ensure destruct() is called More...

#include <minisim.h>


Detailed Description

a class which relies on its constructor/destructor pair to ensure destruct() is called

This is convenient if your main function has many error returns, or throws exceptions.

Definition at line 47 of file minisim.h.

List of all members.

Public Member Functions

 AutoScopeInit ()
 constructor calls minisim::initialize()
 ~AutoScopeInit ()
 destructor calls minisim::destructor();

Constructor & Destructor Documentation

AutoScopeInit (  ) 

constructor calls minisim::initialize()

Definition at line 48 of file minisim.h.

~AutoScopeInit (  ) 

destructor calls minisim::destructor();

Definition at line 49 of file minisim.h.


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

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Mon May 9 05:01:42 2016 by Doxygen 1.6.3