Blender V5.0
scoped_callback_timer Class Reference

#include <time.h>

Public Types

using callback_type = std::function<void(double)>

Public Member Functions

 scoped_callback_timer (callback_type cb)
 ~scoped_callback_timer ()

Protected Attributes

scoped_timer timer
callback_type cb

Detailed Description

Definition at line 89 of file time.h.

Member Typedef Documentation

◆ callback_type

using scoped_callback_timer::callback_type = std::function<void(double)>

Definition at line 91 of file time.h.

Constructor & Destructor Documentation

◆ scoped_callback_timer()

scoped_callback_timer::scoped_callback_timer ( callback_type cb)
inlineexplicit

Definition at line 93 of file time.h.

References cb.

◆ ~scoped_callback_timer()

scoped_callback_timer::~scoped_callback_timer ( )
inline

Definition at line 95 of file time.h.

References cb, and timer.

Member Data Documentation

◆ cb

callback_type scoped_callback_timer::cb
protected

Definition at line 104 of file time.h.

Referenced by scoped_callback_timer(), and ~scoped_callback_timer().

◆ timer

scoped_timer scoped_callback_timer::timer
protected

Definition at line 103 of file time.h.

Referenced by ~scoped_callback_timer().


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