VLAFrequencyFilter.h

Classes

VLAFrequencyFilter -- (full description)

class VLAFrequencyFilter: public VLAFilter

Interface

Public Members
VLAFrequencyFilter()
VLAFrequencyFilter(const MVFrequency& centreFrequency, const MVFrequency& bandwidth)
VLAFrequencyFilter(const VLAFrequencyFilter& other)
virtual ~VLAFrequencyFilter()
VLAFrequencyFilter& operator=(const VLAFrequencyFilter& other)
void refFrequency(const MVFrequency& refFrequency)
void bandwidth(const MVFrequency& bandwidth)
virtual Bool passThru(const VLALogicalRecord& record) const
virtual VLAFilter* clone() const
virtual Bool ok() const

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Note the start and stop frequencys are the values at the center if the integration.

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

VLAFrequencyFilter()

The default constructor creates a filter that does not filter anything. ie., the passThru() function always returns True;

VLAFrequencyFilter(const MVFrequency& centreFrequency, const MVFrequency& bandwidth)

Creates a filter that filters all records except those where any of the observed data are within the specified band. The frequency frame is assumed to be topocentric.

VLAFrequencyFilter(const VLAFrequencyFilter& other)

The copy constructor uses copy semantics.

virtual ~VLAFrequencyFilter()

The destructor is trivial

VLAFrequencyFilter& operator=(const VLAFrequencyFilter& other)

The assignment operator uses copy semantics.

void refFrequency(const MVFrequency& refFrequency)

set the reference frequency.

void bandwidth(const MVFrequency& bandwidth)

set the bandwidth.

virtual Bool passThru(const VLALogicalRecord& record) const

returns True if the supplied record contains any data that is between the specified start and end frequencies.

virtual VLAFilter* clone() const

Return a pointer to a copy of the VLAFrequencyFilter object upcast to a VLAFilter object. The class that uses this function is responsible for deleting the pointer. This is used to implement a virtual copy constructor.

virtual Bool ok() const

Function which checks the internal data of this class for correct dimensionality and consistant values. Returns True if everything is fine otherwise returns False.