VLATimeFilter.h

Classes

VLATimeFilter -- (full description)

class VLATimeFilter: public VLAFilter

Interface

Public Members
VLATimeFilter()
VLATimeFilter(const MVEpoch& startTime, const MVEpoch& stopTime)
VLATimeFilter(const VLATimeFilter& other)
virtual ~VLATimeFilter()
VLATimeFilter& operator=(const VLATimeFilter& other)
void startTime(const MVEpoch& startTime)
void stopTime(const MVEpoch& startTime)
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 times are the values at the center if the integration.

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

VLATimeFilter()

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

VLATimeFilter(const MVEpoch& startTime, const MVEpoch& stopTime)

Creates a filter that filters all records except those with a observation time that is between the specified start and end times. The reference frame is always assumed to be TAI.

VLATimeFilter(const VLATimeFilter& other)

The copy constructor uses copy semantics.

virtual ~VLATimeFilter()

The destructor is trivial

VLATimeFilter& operator=(const VLATimeFilter& other)

The assignment operator uses copy semantics.

void startTime(const MVEpoch& startTime)

Reset the start time.

void stopTime(const MVEpoch& startTime)

Reset the stop time.

virtual Bool passThru(const VLALogicalRecord& record) const

returns True if the supplied record has an observation time that is between the specified start and end times.

virtual VLAFilter* clone() const

Return a pointer to a copy of the VLATimeFilter 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.