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

define calibrator blocks More...

#include <CalibratorBlock.h>

Inheritance diagram for VieVS::CalibratorBlock:
Collaboration diagram for VieVS::CalibratorBlock:

Public Member Functions

 CalibratorBlock (unsigned int startTime, unsigned int nScans, unsigned int duration, std::string allowedSourceGroup)
 
 CalibratorBlock (unsigned int startTime, unsigned int nScans, unsigned int duration, std::vector< std::string > allowedSources)
 
bool isAllowedSource (const std::string &name) const
 
unsigned int getStartTime () const
 
unsigned int getNScans () const
 
unsigned int getDuration () const
 
const std::vector< std::string > & getAllowedSources () const
 
const std::string & getAllowedSourceGroup () const
 
- 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

unsigned int startTime
 
unsigned int nScans
 
unsigned int duration
 
std::string allowedSourceGroup
 
std::vector< std::string > allowedSources
 

Static Private Attributes

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

Detailed Description

define calibrator blocks

Author
Matthias Schartner
Date
27.01.2020

Constructor & Destructor Documentation

CalibratorBlock::CalibratorBlock ( unsigned int  startTime,
unsigned int  nScans,
unsigned int  duration,
std::string  allowedSourceGroup 
)
CalibratorBlock::CalibratorBlock ( unsigned int  startTime,
unsigned int  nScans,
unsigned int  duration,
std::vector< std::string >  allowedSources 
)

Member Function Documentation

const std::string& VieVS::CalibratorBlock::getAllowedSourceGroup ( ) const
inline
const std::vector<std::string>& VieVS::CalibratorBlock::getAllowedSources ( ) const
inline
unsigned int VieVS::CalibratorBlock::getDuration ( ) const
inline
unsigned int VieVS::CalibratorBlock::getNScans ( ) const
inline
unsigned int VieVS::CalibratorBlock::getStartTime ( ) const
inline
bool VieVS::CalibratorBlock::isAllowedSource ( const std::string &  name) const
inline

Member Data Documentation

std::string VieVS::CalibratorBlock::allowedSourceGroup
private
std::vector<std::string> VieVS::CalibratorBlock::allowedSources
private
unsigned int VieVS::CalibratorBlock::duration
private
unsigned long CalibratorBlock::nextId = 0
staticprivate

next id for this object type

unsigned int VieVS::CalibratorBlock::nScans
private
unsigned int VieVS::CalibratorBlock::startTime
private

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