|
OpenTop 1.3 | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | Cross-Platform C++ | ||||
SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD |
#include "ot/auxil/MemCheckSystemMonitor.h"
This class derives from SystemMonitor, so its destructor will facilitate a clean shutdown of the application by calling System::Terminate().
#include "ot/auxil/MemCheckSystemMonitor.h" using namespace ot; using namespace ot::auxil; int main(int argc, char* argv[]) { // create a MemCheckSystemMonitor instance to ensure clean termination // and detect memory leaks on some platforms MemCheckSystemMonitor monitor; // create a deliberate memory leak... int* pInt = new int; return (0); }
Constructor/Destructor Summary | |
MemCheckSystemMonitor() Constructor. |
Constructor/Destructor Detail |
MemCheckSystemMonitor()
|
OpenTop 1.3 | |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | Cross-Platform C++ | ||||
SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD |