VitroIO SDK
Software development kit for Vitro Shard.
|
Class for maintaining timestamp tracking. More...
#include <timestamp.h>
Classes | |
struct | CurrentTime_t |
Static Public Member Functions | |
static void | start (Transport_layer *comm, EnvironmentInterface *env_if) |
Initializes timestamp counting. More... | |
static void | start (uint32_t sync_time, Transport_layer *comm, EnvironmentInterface *env_if) |
Initializes timestamp counting. More... | |
static uint32_t | get_timestamp () |
Get the timestamp object. More... | |
static void | updater_runner () |
Static Public Attributes | |
static CurrentTime_t | current_time |
static Thread | updater |
static Transport_layer * | comm_port |
static EnvironmentInterface * | env |
Class for maintaining timestamp tracking.
This class uses Timer for counting and calculation of timestamps.
|
static |
Get the timestamp object.
|
static |
Initializes timestamp counting.
comm | Communication layer to get timestamp from. |
env_if | Environment interface for timestamp saving |
|
static |
Initializes timestamp counting.
sync_time | Time between timestamp synchronization, given in hours |
comm | Communication layer to get timestamp from. |
env_if | Environment interface for timestamp saving |
|
static |
|
static |
|
static |
|
static |
|
static |