CARMA C++
MonitorSystemIPQwriter.h
Go to the documentation of this file.
1 
12 #ifndef CARMA_MONITOR_MONITOR_SYSTEM_IPQ_WRITER_H
13 #define CARMA_MONITOR_MONITOR_SYSTEM_IPQ_WRITER_H
14 
16 
17 namespace carma {
18 
19 namespace monitor {
20 
21 
22 class FrameCollatorThread;
23 
24 
25 class MonitorSystemIPQwriter : public FrameIPQwriter {
26  public:
27  MonitorSystemIPQwriter(
28  double delayInS,
29  FrameCollatorThread& collatorThread,
30  int clearDelayInFrames);
31 
32  ~MonitorSystemIPQwriter( );
33 
34  protected:
35 
36  private:
37 
38  /*
39  * Write method for system frames & monitor systems
40  */
41  virtual void writeBuffer( );
42 
43  FrameCollatorThread & collatorThread_;
44  const double delayInS_;
45  const int clearDelayInFrames_;
46 };
47 
48 } // End namespace monitor
49 } // End namespace carma
50 
51 #endif
Frame writer that incorporates a timer thread, used for writing subsystem and system monitor frames...