CARMA C++
carma::control::IntentInfo Class Reference

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...
 
IntentInfooperator= (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
 

Detailed Description

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.

Constructor & Destructor Documentation

carma::control::IntentInfo::IntentInfo ( const ::std::string &  inPurpose,
bool  inSelfcal,
bool  inFastSwitch 
)
explicit

Constructor.

Parameters
inPurposePurpose of the observation.
inSelfcalSource is selfcalibratible or not.
inFastSwitchSource is part of a fast switch observation cycle or not.
carma::control::IntentInfo::IntentInfo ( const IntentInfo info)

copy constructor

Member Function Documentation

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

Member Data Documentation

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.


The documentation for this class was generated from the following file: