CARMA C++
MonitorSubsystemIPQwriter.h
Go to the documentation of this file.
1 
11 #ifndef CARMA_MONITOR_MONITOR_SUBSYSTEM_IPQ_WRITER_H
12 #define CARMA_MONITOR_MONITOR_SUBSYSTEM_IPQ_WRITER_H
13 
16 
17 
18 namespace boost {
19  class mutex;
20 } // namespace boost
21 
22 namespace carma {
23 namespace monitor {
24 
25 class MonitorSubsystemIPQwriter : public FrameIPQwriter {
26  public:
27  explicit MonitorSubsystemIPQwriter(
28  MonitorSubsystem & system,
29  const double delayInS,
30  boost::mutex & frameBufferMutex );
31 
32  ~MonitorSubsystemIPQwriter( );
33 
34  void writeBuffer( );
35 
36  private:
37 
38  /*
39  * Write method for system frames & monitor systems
40  */
41  void writeSubsystem( );
42 
43  MonitorSubsystem * const monSubsystem_;
44 
45  const double delayInS_;
46  bool notifiedOfAutowriteScriberDelayError_;
47 
48  boost::mutex & frameBufferMutex_;
49 };
50 
51 
52 } // End namespace monitor
53 } // End namespace carma
54 
55 
56 #endif // CARMA_MONITOR_MONITOR_SUBSYSTEM_IPQ_WRITER_H
The monitor system base class.
Frame writer that incorporates a timer thread, used for writing subsystem and system monitor frames...