Interface for MDF timestamp handling.
#include <imdftimestamp.h>
|
| virtual void | SetTime (uint64_t time)=0 |
| | Set the time in nanoseconds.
|
| |
| virtual void | SetTime (ITimestamp ×tamp)=0 |
| | Set the time using an ITimestamp object.
|
| |
| virtual uint64_t | GetTimeNs () const =0 |
| | Get the time in nanoseconds.
|
| |
| virtual uint16_t | GetTzOffsetMin () const =0 |
| | Get the timezone offset in minutes.
|
| |
| virtual uint16_t | GetDstOffsetMin () const =0 |
| | Get the daylight saving time offset in minutes.
|
| |
| virtual timetype::MdfTimestampType | GetTimeType () const =0 |
| | Get the type of MDF timestamp.
|
| |
◆ GetDstOffsetMin()
| virtual uint16_t mdf::IMdfTimestamp::GetDstOffsetMin |
( |
| ) |
const |
|
nodiscardpure virtual |
- Returns
- The daylight saving time offset in minutes.
◆ GetTimeNs()
| virtual uint64_t mdf::IMdfTimestamp::GetTimeNs |
( |
| ) |
const |
|
nodiscardpure virtual |
- Returns
- The time in nanoseconds.
◆ GetTimeType()
| virtual timetype::MdfTimestampType mdf::IMdfTimestamp::GetTimeType |
( |
| ) |
const |
|
nodiscardpure virtual |
- Returns
- The MDF timestamp type.
◆ GetTzOffsetMin()
| virtual uint16_t mdf::IMdfTimestamp::GetTzOffsetMin |
( |
| ) |
const |
|
nodiscardpure virtual |
- Returns
- The timezone offset in minutes.
◆ SetTime() [1/2]
| virtual void mdf::IMdfTimestamp::SetTime |
( |
ITimestamp & | timestamp | ) |
|
|
pure virtual |
- Parameters
-
| timestamp | An ITimestamp object representing the time. |
◆ SetTime() [2/2]
| virtual void mdf::IMdfTimestamp::SetTime |
( |
uint64_t | time | ) |
|
|
pure virtual |
- Parameters
-
| time | The time in nanoseconds. |
The documentation for this class was generated from the following file: