casa
$Rev:20696$
|
A Butterworth function class that supports serialization. More...
#include <MarshButterworthBandpass.h>
Public Types | |
enum | FieldNames { BPASS, ORDER, PEAK, NFieldNames } |
definitions of the fields stored in a serialized Record. More... | |
Public Member Functions | |
MarshButterworthBandpass () | |
create a zero-th order (all-pass) Butterworth bandpass. | |
MarshButterworthBandpass (uInt minord, uInt maxord, T mincut=T(-1), T maxcut=T(1), T center=T(0), T peak=T(1)) | |
create a Butterworth bandpass function. | |
MarshButterworthBandpass (const Record &gr) throw (InvalidSerializationError) | |
create a fully specified Butterworth polynomial from parameters stored in a Record. | |
MarshButterworthBandpass (const SimButterworthBandpass< T > &other) | |
create a deep copy of another Butterworth polynomial | |
MarshButterworthBandpass (const MarshButterworthBandpass< T > &other) | |
MarshButterworthBandpass< T > & | operator= (const MarshButterworthBandpass< T > &other) |
make a (deep) copy of another Butterworth polynomial | |
MarshButterworthBandpass< T > & | operator= (const SimButterworthBandpass< T > &other) |
copy(deep) another Butterworth function | |
virtual | ~MarshButterworthBandpass () |
Destructor. | |
virtual void | store (Record &gr) const |
store the state of this Function into a Record | |
virtual Function< T > * | clone () const |
Create a copy of this object. | |
Static Public Attributes | |
static const String | FUNCTYPE |
static const String | FUNCFIELDS [] |
Static Private Attributes | |
static const String | modenames [] |
A Butterworth function class that supports serialization.
Public interface
"Marsh" is short for "Marshallable" which means that the class can be serialized into a form that can be transmitted to another execution context. "ButterBandpass" refers to its parent class: SimButterworthBandpass.
This class is a specialization of SimButterworthBandpass class that supports serialization. That is, it allows one to write the state of the SimButterworthBandpass function object into a Record. This record can then be transmitted to another execution context (e.g. or another AIPS++ DO) where it can be "reconstituted" as a new object with identical state as this one. This documentation focusses on this serialization functionality (also known as "marshalling"); for details about the general features of this Butterworth function, see the SimButterworthBandpass class.
Making SimButterworthBandpass Marshallable provides a convenient way of configuring the simulator tool from .
Definition at line 87 of file MarshButterworthBandpass.h.
enum casa::MarshButterworthBandpass::FieldNames |
definitions of the fields stored in a serialized Record.
The actual string names are stored in FUNCFIELDS
BPASS |
the minimum cutoff, center, and maximum cutoff values |
ORDER |
the orders of the transitions between pass and no-pass |
PEAK |
the peak value |
NFieldNames |
the number of supported fields |
Definition at line 99 of file MarshButterworthBandpass.h.
casa::MarshButterworthBandpass< T >::MarshButterworthBandpass | ( | ) | [inline] |
create a zero-th order (all-pass) Butterworth bandpass.
Definition at line 112 of file MarshButterworthBandpass.h.
casa::MarshButterworthBandpass< T >::MarshButterworthBandpass | ( | uInt | minord, |
uInt | maxord, | ||
T | mincut = T(-1) , |
||
T | maxcut = T(1) , |
||
T | center = T(0) , |
||
T | peak = T(1) |
||
) | [inline] |
create a Butterworth bandpass function.
Definition at line 116 of file MarshButterworthBandpass.h.
casa::MarshButterworthBandpass< T >::MarshButterworthBandpass | ( | const Record & | gr | ) | throw (InvalidSerializationError) [explicit] |
create a fully specified Butterworth polynomial from parameters stored in a Record.
casa::MarshButterworthBandpass< T >::MarshButterworthBandpass | ( | const SimButterworthBandpass< T > & | other | ) | [inline] |
create a deep copy of another Butterworth polynomial
Definition at line 131 of file MarshButterworthBandpass.h.
casa::MarshButterworthBandpass< T >::MarshButterworthBandpass | ( | const MarshButterworthBandpass< T > & | other | ) | [inline] |
Definition at line 133 of file MarshButterworthBandpass.h.
virtual casa::MarshButterworthBandpass< T >::~MarshButterworthBandpass | ( | ) | [inline, virtual] |
Destructor.
Definition at line 155 of file MarshButterworthBandpass.h.
virtual Function<T>* casa::MarshButterworthBandpass< T >::clone | ( | ) | const [inline, virtual] |
Create a copy of this object.
The caller is responsible for deleting the pointer.
Reimplemented from casa::SimButterworthBandpass< T >.
Definition at line 162 of file MarshButterworthBandpass.h.
MarshButterworthBandpass<T>& casa::MarshButterworthBandpass< T >::operator= | ( | const MarshButterworthBandpass< T > & | other | ) | [inline] |
make a (deep) copy of another Butterworth polynomial
Definition at line 139 of file MarshButterworthBandpass.h.
Referenced by casa::MarshButterworthBandpass< T >::operator=().
MarshButterworthBandpass<T>& casa::MarshButterworthBandpass< T >::operator= | ( | const SimButterworthBandpass< T > & | other | ) | [inline] |
copy(deep) another Butterworth function
Reimplemented from casa::SimButterworthBandpass< T >.
Definition at line 146 of file MarshButterworthBandpass.h.
References casa::MarshButterworthBandpass< T >::operator=().
virtual void casa::MarshButterworthBandpass< T >::store | ( | Record & | gr | ) | const [virtual] |
store the state of this Function into a Record
Implements casa::FunctionMarshallable.
const String casa::MarshButterworthBandpass< T >::FUNCFIELDS[] [static] |
Definition at line 95 of file MarshButterworthBandpass.h.
const String casa::MarshButterworthBandpass< T >::FUNCTYPE [static] |
Definition at line 94 of file MarshButterworthBandpass.h.
const String casa::MarshButterworthBandpass< T >::modenames[] [static, private] |
Definition at line 91 of file MarshButterworthBandpass.h.