|
Robot Raconteur Companion C++ Library
|
Go to the source code of this file.
Functions | |
| com::robotraconteur::datetime::DateTimeUTC | RobotRaconteur::Companion::Util::UtcNow (const RobotRaconteur::RobotRaconteurNodePtr &node, const com::robotraconteur::device::DeviceInfoPtr &info) |
| Get the current DateTimeUTC from the node. | |
| com::robotraconteur::datetime::TimeSpec2 | RobotRaconteur::Companion::Util::TimeSpec2Now (const RobotRaconteur::RobotRaconteurNodePtr &node, const com::robotraconteur::device::DeviceInfoPtr &info) |
| Get the current TimeSpec from the node, stored as TimeSpec2. | |
| com::robotraconteur::datetime::TimeSpec3 | RobotRaconteur::Companion::Util::TimeSpec3Now (const RobotRaconteur::RobotRaconteurNodePtr &node) |
| Get the current TimeSpec from the node, stored as TimeSpec3. | |
| com::robotraconteur::device::clock::DeviceTime | RobotRaconteur::Companion::Util::FillDeviceTime (const RobotRaconteur::RobotRaconteurNodePtr &node, const com::robotraconteur::device::DeviceInfoPtr &device_info, uint64_t seqno) |
| Fill a DeviceTime structure with the current time. | |
| com::robotraconteur::device::clock::DeviceTime RobotRaconteur::Companion::Util::FillDeviceTime | ( | const RobotRaconteur::RobotRaconteurNodePtr & | node, |
| const com::robotraconteur::device::DeviceInfoPtr & | device_info, | ||
| uint64_t | seqno ) |
Fill a DeviceTime structure with the current time.
| node | The node to use. If null, the default node is used |
| device_info | The device info to use. If null, the default clock is used |
| seqno | The current sequence number of the device |
| com::robotraconteur::datetime::TimeSpec2 RobotRaconteur::Companion::Util::TimeSpec2Now | ( | const RobotRaconteur::RobotRaconteurNodePtr & | node, |
| const com::robotraconteur::device::DeviceInfoPtr & | info ) |
Get the current TimeSpec from the node, stored as TimeSpec2.
TimeSpec is based on the performance counter, and is not guaranteed to be synchronized between nodes or with the system real-time clock. It is expected to be close to the system real-time clock, but may drift over time and is guaranteed to remain stable even if the system real-time clock is changed.
| node | The node to use. If null, the default node is used |
| info | The device info to use. If null, the default clock is used |
| com::robotraconteur::datetime::TimeSpec3 RobotRaconteur::Companion::Util::TimeSpec3Now | ( | const RobotRaconteur::RobotRaconteurNodePtr & | node | ) |
Get the current TimeSpec from the node, stored as TimeSpec3.
The TimeSpec3 is a 64-bit integer representing microseconds since the epoch of the real-time clock. It is intended to be a compact representation of the current time that can be used for timestamping data.
TimeSpec is based on the performance counter, and is not guaranteed to be synchronized between nodes or with the system real-time clock. It is expected to be close to the system real-time clock, but may drift over time and is guaranteed to remain stable even if the system real-time clock is changed.
| node | The node to use. If null, the default node is used |
| com::robotraconteur::datetime::DateTimeUTC RobotRaconteur::Companion::Util::UtcNow | ( | const RobotRaconteur::RobotRaconteurNodePtr & | node, |
| const com::robotraconteur::device::DeviceInfoPtr & | info ) |
Get the current DateTimeUTC from the node.
| node | The node to use. If null, the default node is used |
| info | The device info to use. If null, the default clock is used |