38 std::chrono::milliseconds period;
41 TPeriod(std::chrono::milliseconds period,
Trigger trigger) : period(period), trigger(trigger) {}
43 bool operator < (
const TPeriod &other)
const
45 if (this->trigger != other.trigger)
return this->trigger < other.trigger;
46 return this->period < other.period;
49 bool operator == (
const TPeriod &other)
const
51 return this->trigger == other.trigger && this->period == other.period;