VieSched++
VieVS VLBI Scheduling Software
VieVS::Output Class Reference

this is the VLBI output class that creates all output files More...

#include <Output.h>

Inheritance diagram for VieVS::Output:
Collaboration diagram for VieVS::Output:

Public Member Functions

 Output (Scheduler &sched)
 constructor More...
 
void writeSkdsum ()
 writes a summary text file containing some basic statistics and overviews More...
 
void writeStatistics (std::ofstream &of)
 write statistics line to statistics.csv file More...
 
void writeNGS ()
 create a ngs file More...
 
void writeOperationsNotes ()
 create a operations notes file More...
 
void writeSourceStatistics ()
 create a operations notes file More...
 
void writeSkd (const SkdCatalogReader &skdCatalogReader)
 creates a skd file More...
 
void writeVex ()
 creates a vex file More...
 
void writeSnrTable ()
 creates a SNR overview file More...
 
void writeAstFile ()
 creates a ast file More...
 
void createAllOutputFiles (std::ofstream &of, const SkdCatalogReader &skdCatalogReader)
 create all output files More...
 
- Public Member Functions inherited from VieVS::VieVS_NamedObject
 VieVS_NamedObject (std::string name, unsigned long id)
 constructor More...
 
 VieVS_NamedObject (std::string name, std::string alternativeName, unsigned long id)
 constructor More...
 
const std::string & getName () const
 get object name More...
 
const std::string & getAlternativeName () const
 get object alternative name More...
 
bool hasAlternativeName () const
 check if object has alternative name More...
 
bool hasName (const std::string &name) const
 check if object has name More...
 
void changeName (const std::string &newName)
 change name of object More...
 
- Public Member Functions inherited from VieVS::VieVS_Object
 VieVS_Object (unsigned long id)
 constructor More...
 
const unsigned long getId () const
 get object id More...
 
bool hasValidId () const
 check if id is valid More...
 
bool hasId (unsigned long id) const
 check if object has specific id More...
 
void setId (unsigned long id)
 set object id More...
 
std::string printId () const
 object id string More...
 

Private Attributes

boost::property_tree::ptree xml_
 content of VieSchedpp.xml file More...
 
std::string path_
 path to output directory More...
 
int version_
 number of this schedule More...
 
Network network_
 network More...
 
SourceList sourceList_
 all sources More...
 
std::vector< Scanscans_
 all scans in schedule More...
 
const std::shared_ptr< const ObservingMode > & obsModes_
 observing mode More...
 
boost::optional< MultiScheduling::ParametersmultiSchedulingParameters_
 multi scheduling parameters More...
 

Static Private Attributes

static unsigned long nextId = 0
 next id for this object type More...
 

Friends

class Simulator
 

Detailed Description

this is the VLBI output class that creates all output files

Author
Matthias Schartner
Date
22.08.2017

Constructor & Destructor Documentation

Output::Output ( Scheduler sched)
explicit

constructor

Author
Matthias Schartner
Parameters
schedscheduler

Member Function Documentation

void Output::createAllOutputFiles ( std::ofstream &  of,
const SkdCatalogReader skdCatalogReader 
)

create all output files

Author
Matthias Schartner
Parameters
ofstatistics.csv file
skdCatalogReadersked catalogs

Here is the call graph for this function:

Here is the caller graph for this function:

void Output::writeAstFile ( )

creates a ast file

Author
Matthias Schartner

Here is the call graph for this function:

Here is the caller graph for this function:

void Output::writeNGS ( )

create a ngs file

Author
Matthias Schartner

Here is the call graph for this function:

Here is the caller graph for this function:

void Output::writeOperationsNotes ( )

create a operations notes file

Author
Matthias Schartner

Here is the call graph for this function:

Here is the caller graph for this function:

void Output::writeSkd ( const SkdCatalogReader skdCatalogReader)

creates a skd file

Author
Matthias Schartner
Parameters
skdCatalogReadersked catalogs

Here is the call graph for this function:

Here is the caller graph for this function:

void Output::writeSkdsum ( )

writes a summary text file containing some basic statistics and overviews

Author
Matthias Schartner

Here is the call graph for this function:

Here is the caller graph for this function:

void Output::writeSnrTable ( )

creates a SNR overview file

Author
Matthias Schartner

Here is the call graph for this function:

Here is the caller graph for this function:

void Output::writeSourceStatistics ( )

create a operations notes file

Author
Matthias Schartner

Here is the call graph for this function:

Here is the caller graph for this function:

void Output::writeStatistics ( std::ofstream &  of)

write statistics line to statistics.csv file

Author
Matthias Schartner
Parameters
ofstatistics.csv file

Here is the call graph for this function:

Here is the caller graph for this function:

void Output::writeVex ( )

creates a vex file

Author
Matthias Schartner

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class Simulator
friend

Member Data Documentation

boost::optional<MultiScheduling::Parameters> VieVS::Output::multiSchedulingParameters_
private

multi scheduling parameters

Network VieVS::Output::network_
private

network

unsigned long Output::nextId = 0
staticprivate

next id for this object type

const std::shared_ptr<const ObservingMode>& VieVS::Output::obsModes_
private

observing mode

std::string VieVS::Output::path_
private

path to output directory

std::vector<Scan> VieVS::Output::scans_
private

all scans in schedule

SourceList VieVS::Output::sourceList_
private

all sources

int VieVS::Output::version_
private

number of this schedule

boost::property_tree::ptree VieVS::Output::xml_
private

content of VieSchedpp.xml file


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