casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SwitchCyclesList.h
Go to the documentation of this file.
1 #if !defined(_SWITCHCYCLESLIST_H)
2 
3 #include <vector>
4 #include <map>
5 
7 
9 
10 namespace sdmbin {
11 
14  {
15  public:
16 
22  std::vector<asdm::Tag> getSwitchCyclesList();
23 
29  std::vector<asdm::Tag> getSwitchCyclesList(BasebandNameMod::BasebandName basebandName);
30 
35  std::vector<int> getNumBin();
36 
41  std::vector<int> getNumBin(BasebandNameMod::BasebandName basebandName);
42 
46 
47  virtual ~SwitchCyclesList();
48 
49  protected:
50 
51  std::map<BasebandNameMod::BasebandName,std::vector<asdm::Tag> > m_bn_v_scId_; //<! map of vectors of SwitchCycle identifiers, one vector per named baseband
52  std::map<BasebandNameMod::BasebandName,std::vector<int> > m_bn_v_numBin_; //<! number of steps for every spw in every baseband (size numBaseband)
53  std::vector<std::vector<int> > vv_numBin_; //<! number of steps for every spw in every baseband (size numBaseband)
54  std::vector<int> v_numBin_; //<! number of steps in every datadescription in the sequence in configDescription
55  asdm::ASDM* datasetPtr_; //<! pointer on an ASDM dataset.
56 
58 
65  SwitchCyclesList(asdm::ASDM* const datasetPtr, std::vector<asdm::Tag> v_switchCycleId);
66 
73  SwitchCyclesList(asdm::ASDM* const datasetPtr, std::vector<std::vector<asdm::Tag> > vv_switchCycleId);
74 
83  SwitchCyclesList(asdm::ASDM* const datasetPtr, std::vector<std::vector<int> > vv_switchCycleId);
84 
97  virtual void mapScToBaseband() = 0;
98 
99  std::vector<std::vector<asdm::Tag> > vv_switchCycleId_ ; //<! list of vector of SwitchCycle identifiers for the sequence of basebands
100  std::vector<asdm::Tag> v_switchCycleId_ ; //<! list of SwitchCycle id (would they be spw indepedent in a bb) for the sequence of basebands
101  };
102 }
103 
104 #define _SWITCHCYCLESLIST_H
105 #endif
std::vector< asdm::Tag > v_switchCycleId_
std::vector< int > getNumBin()
Accessor on the number of steps for the SwitchCycles for every of the dataDesription in the list in c...
std::vector< int > v_numBin_
The ASDM class is the container for all tables.
Definition: ASDM.h:273
virtual void mapScToBaseband()=0
SwitchCyclesList defines the abstract base type of a hierarchy.
std::map< BasebandNameMod::BasebandName, std::vector< asdm::Tag > > m_bn_v_scId_
std::vector< asdm::Tag > getSwitchCyclesList()
Accessor on the array of SwitchCycle identifiers.
Definition of the root of the tree hierarchy.
std::vector< std::vector< asdm::Tag > > vv_switchCycleId_
std::vector< std::vector< int > > vv_numBin_
std::map< BasebandNameMod::BasebandName, std::vector< int > > m_bn_v_numBin_