Botan 3.0.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 48 of file timer.h.

Constructor & Destructor Documentation

◆ Timer_Scope()

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

Definition at line 51 of file timer.h.

52 : m_timer(timer)
53 {
54 m_timer.start();
55 }
void start()
Definition: timer.cpp:45

◆ ~Timer_Scope()

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

Definition at line 56 of file timer.h.

57 {
58 try
59 {
60 m_timer.stop();
61 }
62 catch(...) {}
63 }
void stop()
Definition: timer.cpp:52

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