casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
sdmbin::SwitchCyclesList Class Reference

Definition of the root of the tree hierarchy. More...

#include <SwitchCyclesList.h>

Inheritance diagram for sdmbin::SwitchCyclesList:
sdmbin::DataDescriptionsSet sdmbin::DataDescriptionsSet sdmbin::BaselinesSet sdmbin::BaselinesSet sdmbin::BaselinesSet sdmbin::BaselinesSet

List of all members.

Public Member Functions

vector< TaggetSwitchCyclesList ()
 Accessor on the array of SwitchCycle identifiers.
vector< TaggetSwitchCyclesList (BasebandName basebandName)
 Accessor on the array of SwitchCycle identifiers given a named baseband.
vector< int > getNumBin ()
 Accessor on the number of steps for the SwitchCycles for every of the dataDesription in the list in configDescription.
vector< int > getNumBin (BasebandName basebandName)
 Accessor on the number of steps for the SwitchCycles given a named basebaband.
 SwitchCyclesList (const SwitchCyclesList &)
 Copy constructor.
virtual ~SwitchCyclesList ()
vector< TaggetSwitchCyclesList ()
 Accessor on the array of SwitchCycle identifiers.
vector< TaggetSwitchCyclesList (BasebandName basebandName)
 Accessor on the array of SwitchCycle identifiers given a named baseband.
vector< int > getNumBin ()
 Accessor on the number of steps for the SwitchCycles for every of the dataDesription in the list in configDescription.
vector< int > getNumBin (BasebandName basebandName)
 Accessor on the number of steps for the SwitchCycles given a named basebaband.
 SwitchCyclesList (const SwitchCyclesList &)
 Copy constructor.
virtual ~SwitchCyclesList ()

Protected Member Functions

 SwitchCyclesList ()
 SwitchCyclesList (ASDM *const datasetPtr, vector< Tag > v_switchCycleId)
 Class to define the root of the tree hierarchy.
 SwitchCyclesList (ASDM *const datasetPtr, vector< vector< Tag > > vv_switchCycleId)
 Class to define the root of the tree hierarchy.
 SwitchCyclesList (ASDM *const datasetPtr, vector< vector< int > > vv_switchCycleId)
 Class to define the root of the tree hierarchy.
virtual void mapScToBaseband ()=0
 SwitchCyclesList defines the abstract base type of a hierarchy.
 SwitchCyclesList ()
 SwitchCyclesList (ASDM *const datasetPtr, vector< Tag > v_switchCycleId)
 Class to define the root of the tree hierarchy.
 SwitchCyclesList (ASDM *const datasetPtr, vector< vector< Tag > > vv_switchCycleId)
 Class to define the root of the tree hierarchy.
 SwitchCyclesList (ASDM *const datasetPtr, vector< vector< int > > vv_switchCycleId)
 Class to define the root of the tree hierarchy.
virtual void mapScToBaseband ()=0
 SwitchCyclesList defines the abstract base type of a hierarchy.

Protected Attributes

map< BasebandName, vector< Tag > > m_bn_v_scId_
map< BasebandName, vector< int > > m_bn_v_numBin_
vector< vector< int > > vv_numBin_
vector< int > v_numBin_
ASDMdatasetPtr_
vector< vector< Tag > > vv_switchCycleId_
vector< Tagv_switchCycleId_

Detailed Description

Definition of the root of the tree hierarchy.

Definition at line 16 of file SwitchCyclesList.h.


Constructor & Destructor Documentation

Copy constructor.

sdmbin::SwitchCyclesList::SwitchCyclesList ( ASDM *const  datasetPtr,
vector< Tag v_switchCycleId 
) [protected]

Class to define the root of the tree hierarchy.

Precondition:
The asdm dataset to work with is known.
Parameters:
datasetPtrA pointer on an ASDM dataset
v_switchCycleIdAn array of switchCycleId identifiers, one per DataDescription.
Postcondition:
The number of steps in switch cycles for every spectral window is known
sdmbin::SwitchCyclesList::SwitchCyclesList ( ASDM *const  datasetPtr,
vector< vector< Tag > >  vv_switchCycleId 
) [protected]

Class to define the root of the tree hierarchy.

Precondition:
The asdm dataset to work with is known.
Parameters:
datasetPtrA pointer on an ASDM dataset
vv_switchCycleIdAn array of switchCycleId identifiers, one vector per baseband.
Postcondition:
The number of steps in switch cycles known for every baseband
sdmbin::SwitchCyclesList::SwitchCyclesList ( ASDM *const  datasetPtr,
vector< vector< int > >  vv_switchCycleId 
) [protected]

Class to define the root of the tree hierarchy.

Precondition:
The asdm dataset to work with is known.
Parameters:
datasetPtrA pointer on an ASDM dataset
v_switchCycleIdAn array of switchCycleId identifiers, one per baseband.
Postcondition:
The number of steps in switch cycles known for every baseband
Note:
Use the alternate constructor, SwitchCyclesList(ASDM* datasetPtr, vector<vector<Tag> > vv_switchCycleId), in the more conventional case ,the SwitchCycle identifiers being expressed using the asdm type Tag.

Copy constructor.

sdmbin::SwitchCyclesList::SwitchCyclesList ( ASDM *const  datasetPtr,
vector< Tag v_switchCycleId 
) [protected]

Class to define the root of the tree hierarchy.

Precondition:
The asdm dataset to work with is known.
Parameters:
datasetPtrA pointer on an ASDM dataset
v_switchCycleIdAn array of switchCycleId identifiers, one per DataDescription.
Postcondition:
The number of steps in switch cycles for every spectral window is known
sdmbin::SwitchCyclesList::SwitchCyclesList ( ASDM *const  datasetPtr,
vector< vector< Tag > >  vv_switchCycleId 
) [protected]

Class to define the root of the tree hierarchy.

Precondition:
The asdm dataset to work with is known.
Parameters:
datasetPtrA pointer on an ASDM dataset
vv_switchCycleIdAn array of switchCycleId identifiers, one vector per baseband.
Postcondition:
The number of steps in switch cycles known for every baseband
sdmbin::SwitchCyclesList::SwitchCyclesList ( ASDM *const  datasetPtr,
vector< vector< int > >  vv_switchCycleId 
) [protected]

Class to define the root of the tree hierarchy.

Precondition:
The asdm dataset to work with is known.
Parameters:
datasetPtrA pointer on an ASDM dataset
v_switchCycleIdAn array of switchCycleId identifiers, one per baseband.
Postcondition:
The number of steps in switch cycles known for every baseband
Note:
Use the alternate constructor, SwitchCyclesList(ASDM* datasetPtr, vector<vector<Tag> > vv_switchCycleId), in the more conventional case ,the SwitchCycle identifiers being expressed using the asdm type Tag.

Member Function Documentation

Accessor on the number of steps for the SwitchCycles for every of the dataDesription in the list in configDescription.

Parameters:
basebandNamebaseband name

Accessor on the number of steps for the SwitchCycles for every of the dataDesription in the list in configDescription.

Parameters:
basebandNamebaseband name
vector<int> sdmbin::SwitchCyclesList::getNumBin ( BasebandName  basebandName)

Accessor on the number of steps for the SwitchCycles given a named basebaband.

Parameters:
basebandNamebaseband name
vector<int> sdmbin::SwitchCyclesList::getNumBin ( BasebandName  basebandName)

Accessor on the number of steps for the SwitchCycles given a named basebaband.

Parameters:
basebandNamebaseband name

Accessor on the array of SwitchCycle identifiers.

Returns:
A flat vector of SwitchCycle identifiers of asdm type Tag. Its size corresponds to the number of dataDescriptions used for the setup of the configuration.

Accessor on the array of SwitchCycle identifiers.

Returns:
A flat vector of SwitchCycle identifiers of asdm type Tag. Its size corresponds to the number of dataDescriptions used for the setup of the configuration.
vector<Tag> sdmbin::SwitchCyclesList::getSwitchCyclesList ( BasebandName  basebandName)

Accessor on the array of SwitchCycle identifiers given a named baseband.

Returns:
A vector of SwitchCycle identifiers of asdm type Tag. Its size corresponds to the number of spectral windows in that baseband which has been used for the configuration setup.
vector<Tag> sdmbin::SwitchCyclesList::getSwitchCyclesList ( BasebandName  basebandName)

Accessor on the array of SwitchCycle identifiers given a named baseband.

Returns:
A vector of SwitchCycle identifiers of asdm type Tag. Its size corresponds to the number of spectral windows in that baseband which has been used for the configuration setup.
virtual void sdmbin::SwitchCyclesList::mapScToBaseband ( ) [protected, pure virtual]

SwitchCyclesList defines the abstract base type of a hierarchy.

Note:
there are various possible levels of constraints for the number of bins. For example, from the highest to the lowest constraint:
  1. With a nutating sub-reflector the number of bins must be the same in all the spectral windows, whatever the baseband.
  2. With frequency-switch observing modes, the number of bins may require to be unique on a baseband basis.
  3. With dedispersion for pulsar observations the number of bins may be solely spectral-window based.
mapScToBaseband(), implemented in the derived class DataDescriptionSets, maps vectors to baseband names to support this, the baseband names being attributes in the definition of the spectral windows.

Implemented in sdmbin::DataDescriptionsSet, and sdmbin::DataDescriptionsSet.

virtual void sdmbin::SwitchCyclesList::mapScToBaseband ( ) [protected, pure virtual]

SwitchCyclesList defines the abstract base type of a hierarchy.

Note:
there are various possible levels of constraints for the number of bins. For example, from the highest to the lowest constraint:
  1. With a nutating sub-reflector the number of bins must be the same in all the spectral windows, whatever the baseband.
  2. With frequency-switch observing modes, the number of bins may require to be unique on a baseband basis.
  3. With dedispersion for pulsar observations the number of bins may be solely spectral-window based.
mapScToBaseband(), implemented in the derived class DataDescriptionSets, maps vectors to baseband names to support this, the baseband names being attributes in the definition of the spectral windows.

Implemented in sdmbin::DataDescriptionsSet, and sdmbin::DataDescriptionsSet.


Member Data Documentation

Definition at line 58 of file SwitchCyclesList.h.

map< BasebandName, vector< int > > sdmbin::SwitchCyclesList::m_bn_v_numBin_ [protected]

Definition at line 55 of file SwitchCyclesList.h.

map< BasebandName, vector< Tag > > sdmbin::SwitchCyclesList::m_bn_v_scId_ [protected]

Definition at line 54 of file SwitchCyclesList.h.

vector< int > sdmbin::SwitchCyclesList::v_numBin_ [protected]

Definition at line 57 of file SwitchCyclesList.h.

Referenced by sdmbin::DataDescriptionsSet::numBin().

Definition at line 103 of file SwitchCyclesList.h.

vector< vector< int > > sdmbin::SwitchCyclesList::vv_numBin_ [protected]

Definition at line 56 of file SwitchCyclesList.h.

vector< vector< Tag > > sdmbin::SwitchCyclesList::vv_switchCycleId_ [protected]

Definition at line 102 of file SwitchCyclesList.h.


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