CARMA C++
FrameCollatorThread.h
Go to the documentation of this file.
1 
9 #ifndef CARMA_MONITOR_FRAME_COLLATOR_THREAD_H
10 #define CARMA_MONITOR_FRAME_COLLATOR_THREAD_H
11 
13 
14 namespace carma {
15 
16 namespace corba {
17  class Server;
18 }
19 
20 namespace monitor {
21 
22 
23 class MonitorSystem;
24 
25 
26 class FrameCollatorThread {
27  public:
28 
29  explicit FrameCollatorThread(const ::std::string& subscriberName,
30  double delayInS,
31  bool rawMode,
32  carma::corba::Server& server);
33 
34  virtual ~FrameCollatorThread( );
35 
36  void writeMonitorSystemToIPQ(double nextFireTimeMJD,
37  double delayInSeconds,
38  int clearDelayInFrames);
39 
40  void setFirstFireTime( double firstFireTimeMJD );
41 
44  void operator( ) ( );
45 
46  private:
49  FrameSubscriber * subscriber_;
50  carma::corba::Server & server_;
51 };
52 
53 
54 } // namespace carma::monitor
55 } // namespace carma
56 
57 #endif
Implementation of subscriber for monitor frame events.
Class for creating, managing and serving requests to CORBA servants.
Definition: Server.h:22