Opm::TimerGuard Class Reference

A simple class which makes sure that a timer gets stopped if an exception is thrown. More...

#include <timerguard.hh>

Public Member Functions

 TimerGuard (Timer &timer)
 
 ~TimerGuard ()
 

Detailed Description

A simple class which makes sure that a timer gets stopped if an exception is thrown.

Constructor & Destructor Documentation

◆ TimerGuard()

Opm::TimerGuard::TimerGuard ( Timer timer)
inline

◆ ~TimerGuard()

Opm::TimerGuard::~TimerGuard ( )
inline

References Opm::Timer::stop().


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