Embedded Multicore Building Blocks V1.0.0
Public Member Functions | List of all members
embb::base::Time Class Reference

Represents an absolute time point. More...

#include <time.h>

Public Member Functions

 Time ()
 Constructs an instance representing the current point of time. More...
 
template<typename Tick >
 Time (const Duration< Tick > &duration)
 Constructs an instance representing the current point of time plus duration. More...
 

Detailed Description

Represents an absolute time point.

Constructor & Destructor Documentation

embb::base::Time::Time ( )

Constructs an instance representing the current point of time.

Concurrency
Not thread-safe
template<typename Tick >
embb::base::Time::Time ( const Duration< Tick > &  duration)
explicit

Constructs an instance representing the current point of time plus duration.

Concurrency
Not thread-safe
See also
Duration
Template Parameters
TickType of tick of the Duration
Parameters
[in]durationDuration added to the current point of time.