CARMA C++
Correlator.h
Go to the documentation of this file.
1 
11 #ifndef CARMA_MONITOR_CARMA_CORRELATOR_H
12 #define CARMA_MONITOR_CARMA_CORRELATOR_H
13 
14 #include <string>
15 
16 #include "carma/control/CorrDefs.h"
17 #include "carma/util/CorrelatorType.h"
18 
19 namespace carma {
20 namespace monitor {
21 
22 class Correlator {
23  public:
24  struct Info;
25 
35  Correlator (const carma::util::CorrelatorType type);
36 
41  ~Correlator();
42 
50  static ::size_t numCorrelatorTypes( );
51 
60  static carma::util::CorrelatorType correlatorType( ::size_t index );
61 
69  carma::util::CorrelatorType correlatorType () const ;
70 
78  const ::std::string correlatorTypeName () const ;
79 
86  static const ::std::string correlatorTypeName (carma::util::CorrelatorType corrType);
87 
88  private:
89 
90  const Info & info_;
91 
92 }; // class Correlator
93 
94 } // namespace carma::monitor
95 } // namespace carma
96 
97 
98 #endif // CARMA_MONITOR_CARMA_CORRELATOR_H