PhotonVision C++ dev-v2025.0.0-beta-8-2-gbd1c5c03
Loading...
Searching...
No Matches
wpi::tsp::TimeSyncClient Class Reference

#include <net/TimeSyncClient.h>

Classes

struct  Metadata
 

Public Member Functions

 TimeSyncClient (std::string_view server, int remote_port, std::chrono::milliseconds ping_delay)
 
void Start ()
 
void Stop ()
 
int64_t GetOffset ()
 
Metadata GetMetadata ()
 

Constructor & Destructor Documentation

◆ TimeSyncClient()

wpi::tsp::TimeSyncClient::TimeSyncClient ( std::string_view server,
int remote_port,
std::chrono::milliseconds ping_delay )

Member Function Documentation

◆ GetMetadata()

Metadata wpi::tsp::TimeSyncClient::GetMetadata ( )

◆ GetOffset()

int64_t wpi::tsp::TimeSyncClient::GetOffset ( )

◆ Start()

void wpi::tsp::TimeSyncClient::Start ( )

◆ Stop()

void wpi::tsp::TimeSyncClient::Stop ( )

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