VieSched++
VieVS VLBI Scheduling Software
VieVS::Bbc::Bbc_assign Class Reference

BBC assign section in BBC block. More...

Inheritance diagram for VieVS::Bbc::Bbc_assign:
Collaboration diagram for VieVS::Bbc::Bbc_assign:

Public Member Functions

 Bbc_assign (std::string name, unsigned int physical_bbc_number, std::string if_name)
 constructor More...
 
 Bbc_assign (const boost::property_tree::ptree &tree)
 constructor More...
 
boost::property_tree::ptree toPropertytree () const
 converts object to property tree More...
 
- Public Member Functions inherited from VieVS::VieVS_NamedObject
 VieVS_NamedObject (std::string name, unsigned long id)
 constructor More...
 
 VieVS_NamedObject (std::string name, std::string alternativeName, unsigned long id)
 constructor More...
 
const std::string & getName () const
 get object name More...
 
const std::string & getAlternativeName () const
 get object alternative name More...
 
bool hasAlternativeName () const
 check if object has alternative name More...
 
bool hasName (const std::string &name) const
 check if object has name More...
 
void changeName (const std::string &newName)
 change name of object 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...
 

Public Attributes

unsigned int physical_bbc_number_
 Physical BBC# or DBE channel#. More...
 
std::string if_name_
 Logical IF 'link' with if_def statement in $IF block. More...
 

Static Private Attributes

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

Detailed Description

BBC assign section in BBC block.

Author
Matthias Schartner
Date
17.09.2018

Constructor & Destructor Documentation

Bbc::Bbc_assign::Bbc_assign ( std::string  name,
unsigned int  physical_bbc_number,
std::string  if_name 
)

constructor

Author
Matthias Schartner
Parameters
nameLogical BBC 'link' with chan_def statement in $FREQ block
physical_bbc_numberPhysical BBC# or DBE channel#
if_nameLogical IF 'link' with if_def statement in $IF block
Bbc::Bbc_assign::Bbc_assign ( const boost::property_tree::ptree &  tree)
explicit

constructor

Author
Matthias Schartner
Parameters
treeinput property tree from xml file

Member Function Documentation

boost::property_tree::ptree Bbc::Bbc_assign::toPropertytree ( ) const

converts object to property tree

Author
Matthias Schartner
Returns
property tree

Here is the call graph for this function:

Member Data Documentation

std::string VieVS::Bbc::Bbc_assign::if_name_

Logical IF 'link' with if_def statement in $IF block.

unsigned long VieVS::Bbc::Bbc_assign::nextId = 0
staticprivate

next id for this object type

unsigned int VieVS::Bbc::Bbc_assign::physical_bbc_number_

Physical BBC# or DBE channel#.


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