![]() |
VieSched++
VieVS VLBI Scheduling Software
|
this is the VLBI skd-output class More...
#include <Skd.h>
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... | |
![]() | |
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... | |
this is the VLBI skd-output class
|
explicit |
constructor
file | file name |
|
staticprivate |
|
private |
write skd $ASTROMETRIC block
|
private |
write skd $BROADBAND block
|
private |
write skd $CATALOG_USED block
xml | paramters.xml file |
skdCatalogReader | skd catalog reader |
|
private |
write skd $CODES block
stations | list of all stations |
skdCatalogReader | catalog reader |
|
private |
write skd $DOWNTIME block
network | station network |
|
private |
write skd $FLUX block
sourceList | list of all sources |
skdCatalogReader | catalog reader |
|
private |
write skd $HEAD block
This block is deprecated! I only provide it since drudge crashes in some rare circumstances in case this block is not presetn.
stations | list of all stations |
skdCatalogReader | catalog reader |
|
private |
write skd $MAJOR block
stations | list of all stations |
sourceList | list of all sources |
xml | paramters.xml file |
skdCatalogReader | catalog reader |
|
private |
write skd $MINOR block
|
private |
write skd $OP block
|
private |
write skd $PARAM block
network | station network |
xml | VieSchedpp.xml file |
skdCatalogReader | catalog reader |
|
private |
write skd $SKED block
stations | list of all stations |
sourceList | list of all sources |
scans | list of all scheduled scans |
skdCatalogReader | catalog reader |
|
private |
write skd $SOURCES block
sourceList | list of all sources |
skdCatalogReader | catalog reader |
|
private |
write skd $SRCWT block
sourceList | list of all sources |
|
private |
write skd $STATIONS block
stations | list of all stations |
skdCatalogReader | catalog reader |
|
private |
write skd STATWT block
stations | list of all stations |
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
network | station network |
sourceList | source list |
scans | scheduled scans |
skdCatalogReader | skd catalog reader |
xml | VieSchedpp.xml file |
|
staticprivate |
next id for this object type
|
private |
output stream object filename.skd