farm-ng-core
core.stamp.StampSemantics Class Reference

Static Public Attributes

string CLIENT_RECEIVE = "client/receive"
 
string CLIENT_SEND = "client/send"
 
string DEVICE_SAMPLE = "device/sample"
 
string DRIVER_RECEIVE = "driver/receive"
 
string DRIVER_TRANSMIT = "driver/transmit"
 
string FILE_WRITE = "file/write"
 
string SERVICE_RECEIVE = "service/receive"
 
string SERVICE_SEND = "service/send"
 

Detailed Description

Recommended semantics for timestamp_pb2.Timestamp timestamps.

Example usage for when a device driver (service) receives a message from a device (e.g., a camera):
    stamp = get_monotonic_now(StampSemantics.DRIVER_RECEIVE)

Member Data Documentation

◆ CLIENT_RECEIVE

string core.stamp.StampSemantics.CLIENT_RECEIVE = "client/receive"
static

◆ CLIENT_SEND

string core.stamp.StampSemantics.CLIENT_SEND = "client/send"
static

◆ DEVICE_SAMPLE

string core.stamp.StampSemantics.DEVICE_SAMPLE = "device/sample"
static

◆ DRIVER_RECEIVE

string core.stamp.StampSemantics.DRIVER_RECEIVE = "driver/receive"
static

◆ DRIVER_TRANSMIT

string core.stamp.StampSemantics.DRIVER_TRANSMIT = "driver/transmit"
static

◆ FILE_WRITE

string core.stamp.StampSemantics.FILE_WRITE = "file/write"
static

◆ SERVICE_RECEIVE

string core.stamp.StampSemantics.SERVICE_RECEIVE = "service/receive"
static

◆ SERVICE_SEND

string core.stamp.StampSemantics.SERVICE_SEND = "service/send"
static

The documentation for this class was generated from the following file: