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 44 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 47 of file zoom_controller.cpp.

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

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