RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
timeParsing.hpp File Reference

Utility functions for time. More...

#include <array>
#include <chrono>
#include <format>
#include <optional>
#include <spanstream>
#include <string>

Go to the source code of this file.

Namespaces

namespace  rtctk
 
namespace  rtctk::componentFramework
 

Functions

template<class Tp>
bool rtctk::componentFramework::ParseTimepoint (const std::string_view time, Tp &timepoint)
 Parses a string representing a timepoint.
 
std::optional< std::chrono::nanoseconds > rtctk::componentFramework::ParseDuration (const std::string_view duration)
 Parses a string representing a duration.
 

Detailed Description

Utility functions for time.