Blender  V3.3
Public Types | Public Member Functions | Protected Attributes | List of all members
scoped_callback_timer Class Reference

#include <time.h>

Public Types

using callback_type = 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 51 of file time.h.

Member Typedef Documentation

◆ callback_type

Definition at line 53 of file time.h.

Constructor & Destructor Documentation

◆ scoped_callback_timer()

scoped_callback_timer::scoped_callback_timer ( callback_type  cb)
inlineexplicit

Definition at line 55 of file time.h.

◆ ~scoped_callback_timer()

scoped_callback_timer::~scoped_callback_timer ( )
inline

Definition at line 59 of file time.h.

References cb, scoped_timer::get_time(), and timer.

Member Data Documentation

◆ cb

callback_type scoped_callback_timer::cb
protected

Definition at line 68 of file time.h.

Referenced by ~scoped_callback_timer().

◆ timer

scoped_timer scoped_callback_timer::timer
protected

Definition at line 67 of file time.h.

Referenced by ~scoped_callback_timer().


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