Function timer

Summary

#include "breeze/time/timer.hpp"

(1) timer(timer const &)=delete

(2) explicit timer(start_mode mode=auto_start)

Function overload

Synopsis

#include "breeze/time/timer.hpp"

timer(timer const &)=delete

Description

Deleted copy constructor.

Rationale
Specifying copy semantics for a timer is a bit difficult and, although it can probably be done, it's not worth it, as who would copy a timer or a timer policy, anyway? (A timer will, in practice, always be used like a Python context.)

Source

Line 65 in breeze/time/timer.hpp.

Synopsis

#include "breeze/time/timer.hpp"

explicit timer(start_mode mode=auto_start)

Description

Initializes the underlying device by calling the default constructor and, if (and only if) mode == auto_start , calls start().

Source

Line 84 in breeze/time/timer.hpp.