![]() |
VieSched++
VieVS VLBI Scheduling Software
|
BBC section of observing mode. More...
#include <Bbc.h>


Classes | |
| class | Bbc_assign |
| BBC assign section in BBC block. More... | |
Public Member Functions | |
| Bbc (std::string name) | |
| constructor More... | |
| Bbc (const boost::property_tree::ptree &tree) | |
| constructor More... | |
| void | addBbc (std::string name, unsigned int physical_bbc_number, std::string if_name) |
| add new BBC assignment More... | |
| boost::property_tree::ptree | toPropertytree () const |
| converts object to property tree More... | |
| void | toVexBbcDefinition (std::ofstream &of, const std::string &comment="") const |
| writes BBC block in vex format More... | |
| const std::vector< Bbc_assign > & | getBbc_assigns () const |
| get BBC definitions More... | |
| std::vector< Bbc_assign > & | refBbc_assigns () |
| reference BBC definitions More... | |
| int | numberOfBBCs () const |
| get number of BBCs 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... | |
Private Attributes | |
| std::vector< Bbc_assign > | bbc_assigns_ |
| list of all BBC assigns More... | |
Static Private Attributes | |
| static unsigned long | nextId = 0 |
| next id for this object type More... | |
BBC section of observing mode.
following vex standard The $BBC block connects physical BBC's to the 'logical' BBC's defined in the $FREQ section, and also specifies the connection of the BBC to a 'logical' IF.
|
explicit |
constructor
| name | BBC name |
|
explicit |
constructor
| tree | input property tree from xml file |
| void Bbc::addBbc | ( | std::string | name, |
| unsigned int | physical_bbc_number, | ||
| std::string | if_name | ||
| ) |
add new BBC assignment
| name | Logical BBC 'link' with chan_def statement in $FREQ block |
| physical_bbc_number | Physical BBC# or DBE channel# |
| if_name | Logical IF 'link' with if_def statement in $IF block |
|
inline |
get BBC definitions
necessary for custom observing mode in GUI
| int Bbc::numberOfBBCs | ( | ) | const |
get number of BBCs

|
inline |
reference BBC definitions
necessary for custom observing mode in GUI

| boost::property_tree::ptree Bbc::toPropertytree | ( | ) | const |
converts object to property tree

| void Bbc::toVexBbcDefinition | ( | std::ofstream & | of, |
| const std::string & | comment = "" |
||
| ) | const |
writes BBC block in vex format
| of | vex file stream |
| comment | optional comment line |

|
private |
list of all BBC assigns
|
staticprivate |
next id for this object type