12345678910111213141516171819202122232425262728293031323334 |
- #pragma once
- #include <stdint.h>
- #include <vector>
- #include "Utils.h"
- namespace cspot {
- class TimeProvider {
- private:
- unsigned long long timestampDiff;
- public:
-
- TimeProvider();
-
- void syncWithPingPacket(const std::vector<uint8_t>& pongPacket);
-
- unsigned long long getSyncedTimestamp();
- };
- }
|