Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
Library Initialization

Functions used to initialize the Time Shield library. More...

Files

file  include/time_shield/initialization.hpp
 Initialization helpers for the Time Shield library.

Functions

void time_shield::init ()
 Initializes the Time Shield library.

Detailed Description

Functions used to initialize the Time Shield library.

This group includes functions that perform setup procedures required before using any time-related utilities provided by the Time Shield library. Call time_shield::init() early in the application lifecycle to ensure that internal components are initialized properly.

Function Documentation

◆ init()

void time_shield::init ( )
inline

Initializes the Time Shield library.

This function performs required setup for internal components, such as triggering lazy initialization used by time_shield::now_realtime_us(). Call it once at the beginning of your program before using other parts of the library.

Definition at line 23 of file initialization.hpp.