CARMA C++
|
Class containing scientific intent data for a given source Note source name is intentionally not part of this structure; they are paired elsewhere. More...
#include <carma/control/IntentInfo.h>
Public Member Functions | |
IntentInfo (const ::std::string &inPurpose, bool inSelfcal, bool inFastSwitch) | |
Constructor. More... | |
IntentInfo (const IntentInfo &info) | |
copy constructor More... | |
void | invalidate () |
invalidate this object. More... | |
IntentInfo & | operator= (const IntentInfo &rhs) |
equals operator More... | |
Public Attributes | |
bool | fastSwitch |
Source is part of a fast-switch observation cycle. More... | |
::std::string | purpose |
One or more of "ABFGPRSO". More... | |
bool | selfcal |
Source can be self-calibrated. More... | |
Static Public Attributes | |
static const ::std::string | VALID_PURPOSES |
Class containing scientific intent data for a given source Note source name is intentionally not part of this structure; they are paired elsewhere.
Definition at line 13 of file IntentInfo.h.
|
explicit |
Constructor.
inPurpose | Purpose of the observation. |
inSelfcal | Source is selfcalibratible or not. |
inFastSwitch | Source is part of a fast switch observation cycle or not. |
carma::control::IntentInfo::IntentInfo | ( | const IntentInfo & | info | ) |
copy constructor
void carma::control::IntentInfo::invalidate | ( | ) |
invalidate this object.
Sets purpose to "UNSET", selfcal to false, and fastSwitch to false.
IntentInfo& carma::control::IntentInfo::operator= | ( | const IntentInfo & | rhs | ) |
equals operator
bool carma::control::IntentInfo::fastSwitch |
Source is part of a fast-switch observation cycle.
Definition at line 29 of file IntentInfo.h.
::std::string carma::control::IntentInfo::purpose |
One or more of "ABFGPRSO".
Definition at line 19 of file IntentInfo.h.
bool carma::control::IntentInfo::selfcal |
Source can be self-calibrated.
Definition at line 24 of file IntentInfo.h.