contur2
Loading...
Searching...
No Matches
clock.h File Reference

IClock interface and SimulationClock implementation. More...

#include <memory>
#include "contur/core/types.h"
Include dependency graph for clock.h:

Go to the source code of this file.

Classes

class  contur::IClock
 Abstract clock interface for simulation time. More...
class  contur::SimulationClock
 Concrete simulation clock — a simple monotonic tick counter. More...

Namespaces

namespace  contur

Detailed Description

IClock interface and SimulationClock implementation.

The simulation clock is a monotonically increasing tick counter injected as a dependency into all subsystems that need timing. No global static state — the clock is owned and passed explicitly.

Definition in file clock.h.