VieSched++
VieVS VLBI Scheduling Software
VieVS::Subnetting Class Referenceabstract

class Subnetting More...

#include <Subnetting.h>

Inheritance diagram for VieVS::Subnetting:

Public Member Functions

 Subnetting (std::vector< std::vector< unsigned long >> subnettingSrcIds)
 constructor More...
 
bool isAllowed (unsigned long nsta, unsigned long nsta_max)
 constructor More...
 
const std::vector< std::vector< unsigned long > > & getSubnettingSrcIds () const
 constructor More...
 

Private Member Functions

virtual bool allowedMinSta (unsigned long nsta, unsigned long nsta_max)=0
 check if minimum number of stations is reached More...
 

Private Attributes

std::vector< std::vector< unsigned long > > subnettingSrcIds
 list of possible subnetting source ids More...
 

Detailed Description

class Subnetting

Author
Matthias Schartner
Date
07.05.2018

Constructor & Destructor Documentation

VieVS::Subnetting::Subnetting ( std::vector< std::vector< unsigned long >>  subnettingSrcIds)
inlineexplicit

constructor

Author
Matthias Schartner
Parameters
subnettingSrcIdslist of possible subnetting source ids

Member Function Documentation

virtual bool VieVS::Subnetting::allowedMinSta ( unsigned long  nsta,
unsigned long  nsta_max 
)
privatepure virtual

check if minimum number of stations is reached

Author
Matthias Schartner
Parameters
nstanumber of scheduled stations
nsta_maxnumber of available stations
Returns
true if subnetting scan is allowed

Implemented in VieVS::Subnetting_minIdle, and VieVS::Subnetting_percent.

Here is the caller graph for this function:

const std::vector<std::vector<unsigned long> >& VieVS::Subnetting::getSubnettingSrcIds ( ) const
inline

constructor

Author
Matthias Schartner
Returns
list of possible subnetting source ids

Here is the call graph for this function:

bool VieVS::Subnetting::isAllowed ( unsigned long  nsta,
unsigned long  nsta_max 
)
inline

constructor

Author
Matthias Schartner
Parameters
nstanumber of scheduled stations
nsta_maxnumber of available stations
Returns
true if subnetting scan is allowed

Here is the call graph for this function:

Member Data Documentation

std::vector<std::vector<unsigned long> > VieVS::Subnetting::subnettingSrcIds
private

list of possible subnetting source ids


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