Inheritance diagram for code::SingleFileWriter:
It can be attached to an index in which case it will listen for the the appropriate products to write out.
Public Member Functions | |
SingleFileWriter (const std::string &outputDir) | |
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. | |
virtual | ~SingleFileWriter () |
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::SingleFileWriter::SingleFileWriter | ( | const std::string & | outputDir | ) |
virtual code::SingleFileWriter::~SingleFileWriter | ( | ) | [inline, virtual] |
virtual void code::SingleFileWriter::actionPerformed | ( | const ActionEvent * | e | ) | [virtual] |
the listening event for attaching to an index.
void code::SingleFileWriter::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.
If any of these strings is empty, that product will not be waited for.
void code::SingleFileWriter::setPolarGridAngularResolution | ( | double | res | ) | [inline] |
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] |
set the latest reflectivity scan.
This function will call write to write out if necessary.
void code::SingleFileWriter::setSpectrumWidth | ( | const RadialSet & | rs | ) | [inline] |
set the latest scan.
This function will call write to write out if necessary.
void code::SingleFileWriter::setVelocity | ( | const RadialSet & | rs | ) | [inline] |
set the latest scan.
This function will call write to write outif necessary.
void code::SingleFileWriter::write | ( | ) |
The work-horse function -- you can call this function to force the write.
Angle code::SingleFileWriter::currAngle [protected] |
Time code::SingleFileWriter::currTime [protected] |
SmartPtr<RadialSet> code::SingleFileWriter::data[NumDataTypes] [protected] |
std::string code::SingleFileWriter::dataName[NumDataTypes] [protected] |
enum { ... }
code::SingleFileWriter::DataTypes [protected] |
std::string code::SingleFileWriter::outputDir [protected] |
float code::SingleFileWriter::polarGridAngularResolution [protected] |
int code::SingleFileWriter::swp [protected] |