Cross-Platform C++

ot
class SystemMonitor

#include "ot/base/SystemMonitor.h"

ot::auxil::MemCheckSystemMonitor Application helper class to terminate the OpenTop library cleanly. Normally instantiated in the main() function, SystemMonitor uses its destructor to ensure a clean shutdown of the application by calling System::Terminate().

    #include "ot/base/SystemMonitor.h"
    using namespace ot;

    int main(int argc, char* argv[])
    {
        // create a SystemMonitor instance to ensure clean termination
        SystemMonitor monitor;
        
        // do anything here...

        return (0);
    }

See also:
System::Terminate()



Constructor/Destructor Summary
~SystemMonitor()
         Destructor.

Constructor/Destructor Detail

~SystemMonitor

 ~SystemMonitor()
Destructor. Performs any essential termination of the OpenTop library, including calling the System::Terminate() function.



Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2003 ElCel Technology   Trademark Acknowledgements