class Subnetting
More...
#include <Subnetting.h>
|
virtual bool | allowedMinSta (unsigned long nsta, unsigned long nsta_max)=0 |
| check if minimum number of stations is reached More...
|
|
class Subnetting
- Author
- Matthias Schartner
- Date
- 07.05.2018
VieVS::Subnetting::Subnetting |
( |
std::vector< std::vector< unsigned long >> |
subnettingSrcIds | ) |
|
|
inlineexplicit |
constructor
- Author
- Matthias Schartner
- Parameters
-
subnettingSrcIds | list of possible subnetting source ids |
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
-
nsta | number of scheduled stations |
nsta_max | number of available stations |
- Returns
- true if subnetting scan is allowed
Implemented in VieVS::Subnetting_minIdle, and VieVS::Subnetting_percent.
const std::vector<std::vector<unsigned long> >& VieVS::Subnetting::getSubnettingSrcIds |
( |
| ) |
const |
|
inline |
constructor
- Author
- Matthias Schartner
- Returns
- list of possible subnetting source ids
bool VieVS::Subnetting::isAllowed |
( |
unsigned long |
nsta, |
|
|
unsigned long |
nsta_max |
|
) |
| |
|
inline |
constructor
- Author
- Matthias Schartner
- Parameters
-
nsta | number of scheduled stations |
nsta_max | number of available stations |
- Returns
- true if subnetting scan is allowed
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: