CARMA C++
HalfSecUpdater.h
Go to the documentation of this file.
1 
6 #ifndef CARMA_CONTROL_HALFSEC_UPDATER_H
7 #define CARMA_CONTROL_HALFSEC_UPDATER_H
8 
9 // CARMA includes
10 #include "carma/util/FrameAlignedTimer.h"
11 
12 namespace carma
13 {
14 namespace control
15 {
16  // forward declaration
17  class SubarrayControlImpl;
18 
25  {
26  public:
27 
33  explicit HalfSecUpdater( SubarrayControlImpl& saCI );
34 
38  virtual ~HalfSecUpdater();
39 
43  void operator()();
44 
45  private:
46 
47 
52  SubarrayControlImpl & saCI_;
53 
58  };
59 
60  } // Namespace control
61 }// namespace carma
62 
63 #endif // CARMA_CONTROL_HALFSEC_UPDATER_H
virtual ~HalfSecUpdater()
Destructor.
This class is a timer that is used to update control monitor points that need to be recalculated for ...
void operator()()
Work to be performed by some thread.
HalfSecUpdater(SubarrayControlImpl &saCI)
Constructor.
Timer object that fires at a fixed offset after every Nth CARMA frame time.