Compute Graph Framework SDK Reference  5.12
dw::framework::lockstep Namespace Reference

Classes

class  ILockstepSyncClient
 
class  ILockstepSyncClientConsumer
 
class  ILockstepSyncClientProducer
 
struct  LockstepSyncHeader
 

Enumerations

enum class  LockstepSyncDataStatus {
  DATA_NOT_READY ,
  DATA_CONSUME ,
  DATA_DROP
}
 
enum class  LookstepSyncMessageType {
  LOCKSTEP_SYNC_ADVANCE_PKT ,
  LOCKSTEP_SYNC_DATA_HEADER ,
  LOCKSTEP_SYNC_UNBLOCK
}
 

Class Documentation

◆ dw::framework::lockstep::LockstepSyncHeader

struct dw::framework::lockstep::LockstepSyncHeader
Class Members
uint64_t seqNum

The sequence number for the data packet. This field is empty for an advance packet.

dwTime_t timestamp

Timestamp of the producer at the time of sending for a data packet and the next running timstamp for an advance packet.

LookstepSyncMessageType type

Type of message.

Enumeration Type Documentation

◆ LockstepSyncDataStatus

Enumerator
DATA_NOT_READY 

Data is not ready to be consumed by the client.

DATA_CONSUME 

Data is ready to be consumed by the client.

DATA_DROP 

Data is to be dropped by the client.

Definition at line 43 of file ILockstepSyncClient.hpp.

◆ LookstepSyncMessageType

Enumerator
LOCKSTEP_SYNC_ADVANCE_PKT 

An advance packet with the next running timestamp of the client.

LOCKSTEP_SYNC_DATA_HEADER 

A data header packet corresponding to data sent by the producer.

LOCKSTEP_SYNC_UNBLOCK 

A control packet unblocking the client.

Definition at line 53 of file ILockstepSyncClient.hpp.