Botan 3.3.0
Crypto and TLS for C&
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 39 of file timer.h.

Constructor & Destructor Documentation

◆ Timer_Scope()

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

Definition at line 41 of file timer.h.

41: m_timer(timer) { m_timer.start(); }
void start()
Definition timer.cpp:44

◆ ~Timer_Scope()

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

Definition at line 43 of file timer.h.

43 {
44 try {
45 m_timer.stop();
46 } catch(...) {}
47 }
void stop()
Definition timer.cpp:50

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