KiCad PCB EDA Suite
SIMPLE_TIMESTAMPER Class Reference

A very simple timestamper that uses the KIGFX::ACCELERATING_ZOOM_CONTROLLER::CLOCK to provide a timestamp. More...

Inheritance diagram for SIMPLE_TIMESTAMPER:
KIGFX::ACCELERATING_ZOOM_CONTROLLER::TIMESTAMP_PROVIDER

Public Member Functions

ACCELERATING_ZOOM_CONTROLLER::TIME_PT GetTimestamp () override
 

Detailed Description

A very simple timestamper that uses the KIGFX::ACCELERATING_ZOOM_CONTROLLER::CLOCK to provide a timestamp.

Since that's a steady_clock, it's monotonic.

Definition at line 45 of file zoom_controller.cpp.

Member Function Documentation

◆ GetTimestamp()

ACCELERATING_ZOOM_CONTROLLER::TIME_PT SIMPLE_TIMESTAMPER::GetTimestamp ( )
inlineoverridevirtual

Implements KIGFX::ACCELERATING_ZOOM_CONTROLLER::TIMESTAMP_PROVIDER.

Definition at line 48 of file zoom_controller.cpp.

49  {
50  return ACCELERATING_ZOOM_CONTROLLER::CLOCK::now();
51  }

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