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

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

#include <Vex.h>

Inheritance diagram for VieVS::Vex:
Collaboration diagram for VieVS::Vex:

Public Member Functions

 Vex (const std::string &file)
 constructor More...
 
void writeVex (const Network &network, const SourceList &sourceList, const std::vector< Scan > &scans, const std::shared_ptr< const ObservingMode > &obsModes, const boost::property_tree::ptree &xml)
 writ vex 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 global_block (const std::string &expName)
 write vex $GLOBAL block More...
 
void exper_block (const boost::property_tree::ptree &xml)
 write vex $EXPER block More...
 
void station_block (const std::vector< Station > &stations)
 write vex $STATION block More...
 
void sites_block (const std::vector< Station > &stations)
 write vex $STATION block More...
 
void antenna_block (const std::vector< Station > &stations)
 write vex $ANTENNA block More...
 
void das_block (const std::vector< Station > &stations)
 write vex $DAS block More...
 
void source_block (const SourceList &sourceList)
 write vex $SOURCE block More...
 
void mode_block (const std::shared_ptr< const ObservingMode > &obsModes)
 write vex $MODE block More...
 
void freq_block (const std::shared_ptr< const ObservingMode > &obsModes)
 write vex $FREQ block More...
 
void bbc_block (const std::shared_ptr< const ObservingMode > &obsModes)
 write vex $BBC block More...
 
void if_block (const std::shared_ptr< const ObservingMode > &obsModes)
 write vex $IF block More...
 
void tracks_block (const std::shared_ptr< const ObservingMode > &obsModes)
 write vex $TRACKS block More...
 
void head_pos_block ()
 write vex head block (deprecated) More...
 
void pass_order_block ()
 write $PASS_ORDER block More...
 
void roll_block ()
 write $ROLL block More...
 
void phase_cal_detect_block ()
 write $PHASE_CAL_DETECT block More...
 
void sched_block (const std::vector< Scan > &scans, const Network &network, const SourceList &sourceList, const std::shared_ptr< const ObservingMode > &obsModes)
 write $SCHED block More...
 

Private Attributes

std::ofstream of
 output stream object filename.vex More...
 
std::string eol = ";\n"
 end of line string More...
 
std::map< int, int > channelNr2Bbc_
 channel number to bbc number More...
 

Static Private Attributes

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

Detailed Description

this is the VLBI vex-output class

Author
Matthias Schartner
Date
07.12.2017

Constructor & Destructor Documentation

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

constructor

Author
Matthias Schartner
Parameters
filefile name

Member Function Documentation

void Vex::antenna_block ( const std::vector< Station > &  stations)
private

write vex $ANTENNA block

Author
Matthias Schartner
Parameters
stationslist of all stations

Here is the caller graph for this function:

void Vex::bbc_block ( const std::shared_ptr< const ObservingMode > &  obsModes)
private

write vex $BBC block

Author
Matthias Schartner
Parameters
obsModesobserving mode

Here is the caller graph for this function:

void Vex::das_block ( const std::vector< Station > &  stations)
private

write vex $DAS block

Author
Matthias Schartner
Parameters
stationslist of all stations

Here is the caller graph for this function:

void Vex::exper_block ( const boost::property_tree::ptree &  xml)
private

write vex $EXPER block

Author
Matthias Schartner
Parameters
xmlVieSchedpp.xml property tree

Here is the call graph for this function:

Here is the caller graph for this function:

void Vex::freq_block ( const std::shared_ptr< const ObservingMode > &  obsModes)
private

write vex $FREQ block

Author
Matthias Schartner
Parameters
obsModesobserving mode

Here is the caller graph for this function:

void Vex::global_block ( const std::string &  expName)
private

write vex $GLOBAL block

Author
Matthias Schartner
Parameters
expNameexperiment name

Here is the caller graph for this function:

void Vex::head_pos_block ( )
private

write vex head block (deprecated)

Author
Matthias Schartner
void Vex::if_block ( const std::shared_ptr< const ObservingMode > &  obsModes)
private

write vex $IF block

Author
Matthias Schartner
Parameters
obsModesobserving mode

Here is the caller graph for this function:

void Vex::mode_block ( const std::shared_ptr< const ObservingMode > &  obsModes)
private

write vex $MODE block

Author
Matthias Schartner
Parameters
obsModesobserving mode

Here is the caller graph for this function:

void Vex::pass_order_block ( )
private

write $PASS_ORDER block

Author
Matthias Schartner

Here is the caller graph for this function:

void Vex::phase_cal_detect_block ( )
private

write $PHASE_CAL_DETECT block

Author
Matthias Schartner

Here is the caller graph for this function:

void Vex::roll_block ( )
private

write $ROLL block

Author
Matthias Schartner

Here is the caller graph for this function:

void Vex::sched_block ( const std::vector< Scan > &  scans,
const Network network,
const SourceList sourceList,
const std::shared_ptr< const ObservingMode > &  obsModes 
)
private

write $SCHED block

Author
Matthias Schartner
Parameters
scanslist of all scans
networkstation network
sourceListlist of all sources
obsModesobserving mode

Here is the call graph for this function:

Here is the caller graph for this function:

void Vex::sites_block ( const std::vector< Station > &  stations)
private

write vex $STATION block

Author
Matthias Schartner
Parameters
stationslist of all stations

Here is the caller graph for this function:

void Vex::source_block ( const SourceList sourceList)
private

write vex $SOURCE 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 Vex::station_block ( const std::vector< Station > &  stations)
private

write vex $STATION block

Author
Matthias Schartner
Parameters
stationslist of all stations

Here is the caller graph for this function:

void Vex::tracks_block ( const std::shared_ptr< const ObservingMode > &  obsModes)
private

write vex $TRACKS block

Author
Matthias Schartner
Parameters
obsModesobserving mode

Here is the caller graph for this function:

void Vex::writeVex ( const Network network,
const SourceList sourceList,
const std::vector< Scan > &  scans,
const std::shared_ptr< const ObservingMode > &  obsModes,
const boost::property_tree::ptree &  xml 
)

writ vex file

Author
Matthias Schartner
Parameters
networkstation network
sourceListlist of all sources
scanslist of all scans
obsModesobserving mode
xmlparamters.xml file

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::map<int, int> VieVS::Vex::channelNr2Bbc_
private

channel number to bbc number

std::string VieVS::Vex::eol = ";\n"
private

end of line string

unsigned long Vex::nextId = 0
staticprivate

next id for this object type

std::ofstream VieVS::Vex::of
private

output stream object filename.vex


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