Inheritance diagram for code::RapicWriter:
It can be attached to an index in which case it will listen for the the appropriate products to write out.
Public Member Functions | |
RapicWriter (const std::string &outputDir) | |
virtual | ~RapicWriter () |
void | listenFor (const std::string &refproductname, const std::string &velproductname, const std::string &spwproductname) |
listen for these types of data from the index to which to this writer is attached. | |
virtual void | actionPerformed (const ActionEvent *e) |
the listening event for attaching to an index. | |
void | setReflectivity (const RadialSet &rs) |
set the latest reflectivity scan. | |
void | setVelocity (const RadialSet &rs) |
set the latest scan. | |
void | setSpectrumWidth (const RadialSet &rs) |
set the latest scan. | |
void | setPolarGridAngularResolution (double res) |
If you set the resolution to be a number greater than zero (in degrees), then the input radial sets will be made into regular polar grids with that angular resolution. | |
void | write () |
The work-horse function -- you can call this function to force the write. | |
Protected Types | |
Reflectivity | |
Velocity | |
SpectrumWidth | |
NumDataTypes | |
enum | { Reflectivity, Velocity, SpectrumWidth, NumDataTypes } |
Protected Attributes | |
enum code::SingleFileWriter:: { ... } | DataTypes |
SmartPtr< RadialSet > | data [NumDataTypes] |
std::string | dataName [NumDataTypes] |
std::string | outputDir |
Angle | currAngle |
Time | currTime |
int | swp |
float | polarGridAngularResolution |
code::RapicWriter::RapicWriter | ( | const std::string & | outputDir | ) |
virtual code::RapicWriter::~RapicWriter | ( | ) | [inline, virtual] |
virtual void code::SingleFileWriter::actionPerformed | ( | const ActionEvent * | e | ) | [virtual, inherited] |
the listening event for attaching to an index.
void code::SingleFileWriter::listenFor | ( | const std::string & | refproductname, | |
const std::string & | velproductname, | |||
const std::string & | spwproductname | |||
) | [inherited] |
listen for these types of data from the index to which to this writer is attached.
If any of these strings is empty, that product will not be waited for.
void code::SingleFileWriter::setPolarGridAngularResolution | ( | double | res | ) | [inline, inherited] |
If you set the resolution to be a number greater than zero (in degrees), then the input radial sets will be made into regular polar grids with that angular resolution.
void code::SingleFileWriter::setReflectivity | ( | const RadialSet & | rs | ) | [inline, inherited] |
set the latest reflectivity scan.
This function will call write to write out if necessary.
void code::SingleFileWriter::setSpectrumWidth | ( | const RadialSet & | rs | ) | [inline, inherited] |
set the latest scan.
This function will call write to write out if necessary.
void code::SingleFileWriter::setVelocity | ( | const RadialSet & | rs | ) | [inline, inherited] |
set the latest scan.
This function will call write to write outif necessary.
void code::SingleFileWriter::write | ( | ) | [inherited] |
The work-horse function -- you can call this function to force the write.
Angle code::SingleFileWriter::currAngle [protected, inherited] |
Time code::SingleFileWriter::currTime [protected, inherited] |
SmartPtr<RadialSet> code::SingleFileWriter::data[NumDataTypes] [protected, inherited] |
std::string code::SingleFileWriter::dataName[NumDataTypes] [protected, inherited] |
enum { ... }
code::SingleFileWriter::DataTypes [protected, inherited] |
std::string code::SingleFileWriter::outputDir [protected, inherited] |
float code::SingleFileWriter::polarGridAngularResolution [protected, inherited] |
int code::SingleFileWriter::swp [protected, inherited] |