CARMA C++
IntentInfo.h
1 #ifndef CARMA_CONTROL_INTENT_H
2 #define CARMA_CONTROL_INTENT_H
3 #include <string>
4 namespace carma {
5  namespace control {
6 
13  class IntentInfo {
14  public:
15 
19  ::std::string purpose;
20 
24  bool selfcal;
25 
29  bool fastSwitch;
30 
31  static const ::std::string VALID_PURPOSES;
32 
33  IntentInfo();
34  virtual ~IntentInfo();
35 
43  explicit IntentInfo( const ::std::string & inPurpose,
44  bool inSelfcal,
45  bool inFastSwitch );
46 
51  void invalidate();
52 
54  IntentInfo( const IntentInfo & info );
55 
57  IntentInfo & operator=( const IntentInfo & rhs );
58 
59  private:
60  static const ::std::string kUNSET;
61  };
62 
63 } // namespace carma::control
64 } // namespace carma
65 
66 #endif // CARMA_CONTROL_INTENT_H
bool fastSwitch
Source is part of a fast-switch observation cycle.
Definition: IntentInfo.h:29
bool selfcal
Source can be self-calibrated.
Definition: IntentInfo.h:24
Class containing scientific intent data for a given source Note source name is intentionally not part...
Definition: IntentInfo.h:13
::std::string purpose
One or more of &quot;ABFGPRSO&quot;.
Definition: IntentInfo.h:19
IntentInfo & operator=(const IntentInfo &rhs)
equals operator
void invalidate()
invalidate this object.