CARMA C++
SystemFrameHeader.h
1 #ifndef CARMA_MONITOR_SYSTEMFRAMEHEADER_H
2 #define CARMA_MONITOR_SYSTEMFRAMEHEADER_H
3 
5 
6 
7 struct carma::monitor::SystemFrame::SystemHeader {
8  unsigned short numSubsystems;
9  unsigned short statusFlags;
10 
11  int maxSubsystems; // max number of subsystems
12 
13  int maxMonitorPoints; // max number of monitor points across
14  // all maxSubsystems subsystems
15 
16  int maxSamples; // max number of monitor samples across
17  // all maxSubsystems subsystems
18 
19  int frameCount; // timestamp for current system frame
20 
21  double collatorWriteDelay; // offset from half-second at which frame
22  // is supposed to be written to IPQ
23 
24  double collatorWriteTime; // time at which current frame was
25  // written to the IPQ
26 
27  double rawReadTime; // time at which raw Carma frame was read
28  // from the IPQ for fault processing
29 
30  double finalWriteTime; // time at which final frame is written
31  // to the final IPQ (end product)
32 
33  int obsolete1;
34  int obsolete2;
35 }; // 60 bytes (64 on x86_64)
36 
37 
38 #endif
Class wrapper for monitor system frame structure that manages storage for a monitor system frame...