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

this is the VLBI skd-output class More...

#include <Skd.h>

Inheritance diagram for VieVS::Skd:
Collaboration diagram for VieVS::Skd:

Public Member Functions

 Skd (const std::string &file)
 constructor More...
 
void writeSkd (const Network &network, const SourceList &sourceList, const std::vector< Scan > &scans, const SkdCatalogReader &skdCatalogReader, const boost::property_tree::ptree &xml)
 creates a skd file 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 Member Functions

void skd_PARAM (const Network &network, const boost::property_tree::ptree &xml, const SkdCatalogReader &skdCatalogReader)
 write skd $PARAM block More...
 
void skd_OP ()
 write skd $OP block More...
 
void skd_DOWNTIME (const Network &network)
 write skd $DOWNTIME block More...
 
void skd_MAJOR (const std::vector< Station > &stations, const SourceList &sourceList, const boost::property_tree::ptree &xml, const SkdCatalogReader &skdCatalogReader)
 write skd $MAJOR block More...
 
void skd_MINOR ()
 write skd $MINOR block More...
 
void skd_ASTROMETRIC ()
 write skd $ASTROMETRIC block More...
 
void skd_STATWT (const std::vector< Station > &stations)
 write skd STATWT block More...
 
void skd_SRCWT (const SourceList &sourceList)
 write skd $SRCWT block More...
 
void skd_CATALOG_USED (const boost::property_tree::ptree &xml, const SkdCatalogReader &skdCatalogReader)
 write skd $CATALOG_USED block More...
 
void skd_BROADBAND ()
 write skd $BROADBAND block More...
 
void skd_SOURCES (const SourceList &sourceList, const SkdCatalogReader &skdCatalogReader, const std::vector< Scan > &scans)
 write skd $SOURCES block More...
 
void skd_STATIONS (const std::vector< Station > &stations, const SkdCatalogReader &skdCatalogReader)
 write skd $STATIONS block More...
 
void skd_FLUX (const SourceList &sourceList, const SkdCatalogReader &skdCatalogReader)
 write skd $FLUX block More...
 
void skd_SKED (const std::vector< Station > &stations, const SourceList &sourceList, const std::vector< Scan > &scans, const SkdCatalogReader &skdCatalogReader)
 write skd $SKED block More...
 
void skd_CODES (const std::vector< Station > &stations, const SkdCatalogReader &skdCatalogReader)
 write skd $CODES block More...
 
void skd_HEAD (const std::vector< Station > &stations, const SkdCatalogReader &skdCatalogReader)
 write skd $HEAD block More...
 

Static Private Member Functions

static std::string satName (std::string name, unsigned int time)
 

Private Attributes

std::ofstream of
 output stream object filename.skd More...
 

Static Private Attributes

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

Detailed Description

this is the VLBI skd-output class

Author
Matthias Schartner
Date
15.12.2017

Constructor & Destructor Documentation

Skd::Skd ( const std::string &  file)
explicit

constructor

Author
Matthias Schartner
Parameters
filefile name

Member Function Documentation

std::string Skd::satName ( std::string  name,
unsigned int  time 
)
staticprivate

Here is the caller graph for this function:

void Skd::skd_ASTROMETRIC ( )
private

write skd $ASTROMETRIC block

Author
Matthias Schartner

Here is the caller graph for this function:

void Skd::skd_BROADBAND ( )
private

write skd $BROADBAND block

Author
Matthias Schartner

Here is the caller graph for this function:

void Skd::skd_CATALOG_USED ( const boost::property_tree::ptree &  xml,
const SkdCatalogReader skdCatalogReader 
)
private

write skd $CATALOG_USED block

Author
Matthias Schartner
Parameters
xmlparamters.xml file
skdCatalogReaderskd catalog reader

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_CODES ( const std::vector< Station > &  stations,
const SkdCatalogReader skdCatalogReader 
)
private

write skd $CODES block

Author
Matthias Schartner
Parameters
stationslist of all stations
skdCatalogReadercatalog reader

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_DOWNTIME ( const Network network)
private

write skd $DOWNTIME block

Author
Matthias Schartner
Parameters
networkstation network

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_FLUX ( const SourceList sourceList,
const SkdCatalogReader skdCatalogReader 
)
private

write skd $FLUX block

Author
Matthias Schartner
Parameters
sourceListlist of all sources
skdCatalogReadercatalog reader

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_HEAD ( const std::vector< Station > &  stations,
const SkdCatalogReader skdCatalogReader 
)
private

write skd $HEAD block

Author
Matthias Schartner

This block is deprecated! I only provide it since drudge crashes in some rare circumstances in case this block is not presetn.

Parameters
stationslist of all stations
skdCatalogReadercatalog reader

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_MAJOR ( const std::vector< Station > &  stations,
const SourceList sourceList,
const boost::property_tree::ptree &  xml,
const SkdCatalogReader skdCatalogReader 
)
private

write skd $MAJOR block

Author
Matthias Schartner
Parameters
stationslist of all stations
sourceListlist of all sources
xmlparamters.xml file
skdCatalogReadercatalog reader

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_MINOR ( )
private

write skd $MINOR block

Author
Matthias Schartner

Here is the caller graph for this function:

void Skd::skd_OP ( )
private

write skd $OP block

Author
Matthias Schartner

Here is the caller graph for this function:

void Skd::skd_PARAM ( const Network network,
const boost::property_tree::ptree &  xml,
const SkdCatalogReader skdCatalogReader 
)
private

write skd $PARAM block

Author
Matthias Schartner
Parameters
networkstation network
xmlVieSchedpp.xml file
skdCatalogReadercatalog reader

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_SKED ( const std::vector< Station > &  stations,
const SourceList sourceList,
const std::vector< Scan > &  scans,
const SkdCatalogReader skdCatalogReader 
)
private

write skd $SKED block

Author
Matthias Schartner
Parameters
stationslist of all stations
sourceListlist of all sources
scanslist of all scheduled scans
skdCatalogReadercatalog reader

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_SOURCES ( const SourceList sourceList,
const SkdCatalogReader skdCatalogReader,
const std::vector< Scan > &  scans 
)
private

write skd $SOURCES block

Author
Matthias Schartner
Parameters
sourceListlist of all sources
skdCatalogReadercatalog reader

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_SRCWT ( const SourceList sourceList)
private

write skd $SRCWT block

Author
Matthias Schartner
Parameters
sourceListlist of all sources

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_STATIONS ( const std::vector< Station > &  stations,
const SkdCatalogReader skdCatalogReader 
)
private

write skd $STATIONS block

Author
Matthias Schartner
Parameters
stationslist of all stations
skdCatalogReadercatalog reader

Here is the call graph for this function:

Here is the caller graph for this function:

void Skd::skd_STATWT ( const std::vector< Station > &  stations)
private

write skd STATWT block

Author
Matthias Schartner
Parameters
stationslist of all stations

Here is the caller graph for this function:

void Skd::writeSkd ( const Network network,
const SourceList sourceList,
const std::vector< Scan > &  scans,
const SkdCatalogReader skdCatalogReader,
const boost::property_tree::ptree &  xml 
)

creates a skd file

Author
Matthias Schartner
Parameters
networkstation network
sourceListsource list
scansscheduled scans
skdCatalogReaderskd catalog reader
xmlVieSchedpp.xml file

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

unsigned long Skd::nextId = 0
staticprivate

next id for this object type

std::ofstream VieVS::Skd::of
private

output stream object filename.skd


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