class Timestamp
August 13, 2019 ยท View on GitHub
Member values
| Member name | Data type | Description |
|---|---|---|
| sec | uint32 | Number of seconds that have elapsed since Epoch |
| usec | uint32 | Number of microseconds that have elapsed since the last second (0-999999) |
Member functions
| Function name | Return type | Input type | Description |
|---|---|---|---|
| sec() | uint32 | void | Returns the current value of sec. If the sec is not set, returns 0. |
| set_sec() | void | uint32 | Sets the value of sec. After calling this, sec() will return value. |
| clear_sec() | void | void | Clears the value of sec. After calling this, sec() will return 0. |
| usec() | uint32 | void | Returns the current value of usec. If the usec is not set, returns 0. |
| set_usec() | void | uint32 | Sets the value of usec. After calling this, usec() will return value. |
| clear_usec() | void | void | Clears the value of usec. After calling this, usec() will return 0. |
Parent topic: Common (C++)