AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agx::AutoInit Class Reference

Convenience class to automatically call agx::init / agx::shutdown. More...

#include <agx.h>

Public Member Functions

 AutoInit ()
 
 ~AutoInit ()
 

Detailed Description

Convenience class to automatically call agx::init / agx::shutdown.

Usage:

int main (int argc, char const *argv[]) { { agx::AutoInit agxInit; doStuffWithAgX(); } // End of scope for agxInit, agx::shutdown() is called. return 0; }

Definition at line 87 of file agx.h.

Constructor & Destructor Documentation

◆ AutoInit()

agx::AutoInit::AutoInit ( )

◆ ~AutoInit()

agx::AutoInit::~AutoInit ( )

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