A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::TimeInitializationHelper Class Reference

Helper class to force static initialization of Time in each compilation unit, ensuring it is initialized before usage. More...

#include "nstime.h"

Public Member Functions

 TimeInitializationHelper ()
 Default constructor calls Time::StaticInit.
 

Detailed Description

Helper class to force static initialization of Time in each compilation unit, ensuring it is initialized before usage.

This is internal to the Time implementation.

Definition at line 1520 of file nstime.h.

Constructor & Destructor Documentation

◆ TimeInitializationHelper()

ns3::TimeInitializationHelper::TimeInitializationHelper ( )
inline

Default constructor calls Time::StaticInit.

Definition at line 1524 of file nstime.h.

References ns3::Time::StaticInit().

+ Here is the call graph for this function:

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