w2ltg::LightningListener Class Reference

List of all members.

Public Member Functions

 LightningListener (const std::string &ltgType, const std::string &outputDir, const std::string &lbName, code::SmartPtr< LightningDensity > ltg, code::SmartPtr< LightningForecast > ltgFcst)
void setWriteInterval (const code::TimeInterval &t)
 how often should we write? default is every 5 min
void setAveragingPeriods (const std::vector< code::TimeInterval > &t)
 over how long should we compute? default is 5min and 1hr
void setWindFieldName (const std::string &prodName)
 Name of windfield product e.g: WindField or WindField:00.00.
virtual ~LightningListener ()
virtual void actionPerformed (const code::ActionEvent *e)
void processRecord (const code::Index::Record &rec)
void processData (const code::DataTable &grid)
void processLastProduct (const code::Index &index, const std::string &inputType)
void set3DSlices (bool flag)
 true by default.

Static Public Member Functions

static bool matchesDataType (const code::Index::Record &rec, const std::string &dataType)

Protected Member Functions

void writeResults ()

Constructor & Destructor Documentation

w2ltg::LightningListener::LightningListener ( const std::string &  ltgType,
const std::string &  outputDir,
const std::string &  lbName,
code::SmartPtr< LightningDensity ltg,
code::SmartPtr< LightningForecast ltgFcst 
)

virtual w2ltg::LightningListener::~LightningListener (  )  [inline, virtual]


Member Function Documentation

virtual void w2ltg::LightningListener::actionPerformed ( const code::ActionEvent *  e  )  [virtual]

static bool w2ltg::LightningListener::matchesDataType ( const code::Index::Record &  rec,
const std::string &  dataType 
) [static]

void w2ltg::LightningListener::processData ( const code::DataTable &  grid  ) 

void w2ltg::LightningListener::processLastProduct ( const code::Index &  index,
const std::string &  inputType 
)

void w2ltg::LightningListener::processRecord ( const code::Index::Record &  rec  ) 

void w2ltg::LightningListener::set3DSlices ( bool  flag  )  [inline]

true by default.

void w2ltg::LightningListener::setAveragingPeriods ( const std::vector< code::TimeInterval > &  t  )  [inline]

over how long should we compute? default is 5min and 1hr

void w2ltg::LightningListener::setWindFieldName ( const std::string &  prodName  )  [inline]

Name of windfield product e.g: WindField or WindField:00.00.

void w2ltg::LightningListener::setWriteInterval ( const code::TimeInterval &  t  )  [inline]

how often should we write? default is every 5 min

void w2ltg::LightningListener::writeResults (  )  [protected]


Generated on Fri May 4 13:40:25 2012 for WDSS-IIw2algs by  doxygen 1.4.7