Pulsar::VariableTransformationManager Class Referenceabstract

Manager of variable transformations. More...

#include <VariableTransformationManager.h>

Inheritance diagram for Pulsar::VariableTransformationManager:
Reference::Able Reference::HeapTracked Pulsar::ConfigurableProjection Pulsar::KnownVariableTransformation Pulsar::VariableFaradayRotation Pulsar::VariableProjectionCorrection Pulsar::VariableTransformationFile

Public Types

typedef MEAL::Variable< MEAL::Complex2Transformation

Public Member Functions

 VariableTransformationManager ()
 Default constructor.
virtual void set_archive (const Archive *_archive)
 Set the Archive for which a tranformation will be computed.
virtual void set_subint (unsigned _subint)
 Set the sub-integration for which a tranformation will be computed.
virtual void set_chan (unsigned _chan)
 Set the frequency channel for which a tranformation will be computed.
virtual void update ()
 Update the tranformation for the current archive / subint / chan.
virtual void set_nchan (unsigned nchan)=0
 Set the number of frequency channels with a unique Transformation.
virtual Transformationget_transformation (unsigned ichan)=0
 Return the Transformation for the specified channel.
virtual MEAL::Argument::Valuenew_value ()=0
 Return a newly constructed Argument::Value for the current archive / subint / chan.
virtual std::string get_description () const
 Get the description of the transformation.
virtual bool required () const
 Return true if the transformation is required.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Protected Attributes

Reference::To< const Archive, false > archive
unsigned subint
unsigned chan
std::string description
bool built

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Detailed Description

Manager of variable transformations.

Member Function Documentation

◆ get_description()

virtual std::string Pulsar::VariableTransformationManager::get_description ( ) const
inlinevirtual

Get the description of the transformation.

Reimplemented in Pulsar::VariableFaradayRotation, and Pulsar::VariableProjectionCorrection.

◆ get_transformation()

virtual Transformation * Pulsar::VariableTransformationManager::get_transformation ( unsigned ichan)
pure virtual

Return the Transformation for the specified channel.

Implemented in Pulsar::ConfigurableProjection, and Pulsar::KnownVariableTransformation.

◆ new_value()

virtual MEAL::Argument::Value * Pulsar::VariableTransformationManager::new_value ( )
pure virtual

Return a newly constructed Argument::Value for the current archive / subint / chan.

Implemented in Pulsar::ConfigurableProjection, and Pulsar::KnownVariableTransformation.

Referenced by update().

◆ required()

virtual bool Pulsar::VariableTransformationManager::required ( ) const
inlinevirtual

Return true if the transformation is required.

Reimplemented in Pulsar::VariableFaradayRotation, and Pulsar::VariableProjectionCorrection.

◆ set_archive()

void VariableTransformationManager::set_archive ( const Archive * _archive)
virtual

Set the Archive for which a tranformation will be computed.

Reimplemented in Pulsar::ConfigurableProjection.

Referenced by Pulsar::ConfigurableProjection::set_archive().

◆ set_chan()

void VariableTransformationManager::set_chan ( unsigned _chan)
virtual

Set the frequency channel for which a tranformation will be computed.

Reimplemented in Pulsar::ConfigurableProjection.

Referenced by Pulsar::ConfigurableProjection::set_chan().

◆ set_nchan()

virtual void Pulsar::VariableTransformationManager::set_nchan ( unsigned nchan)
pure virtual

Set the number of frequency channels with a unique Transformation.

Implemented in Pulsar::ConfigurableProjection, and Pulsar::KnownVariableTransformation.

◆ set_subint()

void VariableTransformationManager::set_subint ( unsigned _subint)
virtual

Set the sub-integration for which a tranformation will be computed.

Reimplemented in Pulsar::ConfigurableProjection.

Referenced by Pulsar::ConfigurableProjection::set_subint().


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

Generated using doxygen 1.14.0