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

#include <VLAFrequencyFilter.h>

Inheritance diagram for VLAFrequencyFilter:
VLAFilter

List of all members.

Public Member Functions

 VLAFrequencyFilter ()
 The default constructor creates a filter that does not filter anything.
 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.
 VLAFrequencyFilter (const VLAFrequencyFilter &other)
 The copy constructor uses copy semantics.
virtual ~VLAFrequencyFilter ()
 The destructor is trivial.
VLAFrequencyFilteroperator= (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 VLAFilterclone () const
 Return a pointer to a copy of the VLAFrequencyFilter object upcast to a VLAFilter object.
virtual Bool ok () const
 Function which checks the internal data of this class for correct dimensionality and consistant values.

Private Attributes

Double itsTopEdge
Double itsBottomEdge

Detailed Description

Intended use:

Public interface

 <h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> 

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

Definition at line 86 of file VLAFrequencyFilter.h.


Constructor & Destructor Documentation

The default constructor creates a filter that does not filter anything.

ie., the passThru() function always returns True;

VLAFrequencyFilter::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.

The copy constructor uses copy semantics.

The destructor is trivial.


Member Function Documentation

void VLAFrequencyFilter::bandwidth ( const MVFrequency &  bandwidth)

set the bandwidth.

virtual VLAFilter* VLAFrequencyFilter::clone ( ) const [virtual]

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.

Implements VLAFilter.

virtual Bool VLAFrequencyFilter::ok ( ) const [virtual]

Function which checks the internal data of this class for correct dimensionality and consistant values.

Returns True if everything is fine otherwise returns False.

Reimplemented from VLAFilter.

VLAFrequencyFilter& VLAFrequencyFilter::operator= ( const VLAFrequencyFilter other)

The assignment operator uses copy semantics.

virtual Bool VLAFrequencyFilter::passThru ( const VLALogicalRecord record) const [virtual]

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

Implements VLAFilter.

void VLAFrequencyFilter::refFrequency ( const MVFrequency &  refFrequency)

set the reference frequency.


Member Data Documentation

Definition at line 131 of file VLAFrequencyFilter.h.

Definition at line 130 of file VLAFrequencyFilter.h.


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