Botan  2.15.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::Timer::Timer_Scope Class Referencefinal

#include <timer.h>

Public Member Functions

 Timer_Scope (Timer &timer)
 
 ~Timer_Scope ()
 

Detailed Description

Definition at line 54 of file timer.h.

Constructor & Destructor Documentation

◆ Timer_Scope()

Botan::Timer::Timer_Scope::Timer_Scope ( Timer timer)
inlineexplicit

Definition at line 57 of file timer.h.

58  : m_timer(timer)
59  {
60  m_timer.start();
61  }
void start()
Definition: timer.cpp:15

◆ ~Timer_Scope()

Botan::Timer::Timer_Scope::~Timer_Scope ( )
inline

Definition at line 62 of file timer.h.

63  {
64  try
65  {
66  m_timer.stop();
67  }
68  catch(...) {}
69  }
void stop()
Definition: timer.cpp:22

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