CARMA C++
carma::sdp::TrialProjectData Class Reference

A class to accumulate project data for an obsblock trial. More...

#include <carma/sdp/TrialProjectData.h>

Public Member Functions

bool addAstroHdrElement (const Attributes &attr)
 Accumulate any project data from the current astro header element. More...
 
bool addFreqInfo (const std::vector< double > &sfreq, const std::vector< double > &sdf, const std::vector< int > &nschan)
 Accumulate correlator setup frequency configuration information. More...
 
void addScriptToMiriad (std::string miriadFile)
 
bool processIntegration ()
 Process accumulated project data at end of the current integration. More...
 
void resetIntegrationData ()
 Reset at start of current integration. More...
 
 TrialProjectData ()
 Null constructor. More...
 
 TrialProjectData (const std::string &obsBlockId)
 Construct from an obs. More...
 
bool updateProjectDatabase ()
 Update the project database. More...
 
 ~TrialProjectData ()
 Destructor. More...
 

Detailed Description

A class to accumulate project data for an obsblock trial.

This class is used by the SDP filler to accumulate project data from the current astro header being processed. Each astro header corresponds to an obsblock trial.

Definition at line 84 of file TrialProjectData.h.

Constructor & Destructor Documentation

carma::sdp::TrialProjectData::TrialProjectData ( )

Null constructor.

carma::sdp::TrialProjectData::TrialProjectData ( const std::string &  obsBlockId)

Construct from an obs.

block id.

carma::sdp::TrialProjectData::~TrialProjectData ( )

Destructor.

Member Function Documentation

bool carma::sdp::TrialProjectData::addAstroHdrElement ( const Attributes &  attr)

Accumulate any project data from the current astro header element.

bool carma::sdp::TrialProjectData::addFreqInfo ( const std::vector< double > &  sfreq,
const std::vector< double > &  sdf,
const std::vector< int > &  nschan 
)

Accumulate correlator setup frequency configuration information.

bool carma::sdp::TrialProjectData::processIntegration ( )

Process accumulated project data at end of the current integration.

void carma::sdp::TrialProjectData::resetIntegrationData ( )

Reset at start of current integration.

bool carma::sdp::TrialProjectData::updateProjectDatabase ( )

Update the project database.


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