w2kmeans::AlarmTableCreator Class Reference

Inheritance diagram for w2kmeans::AlarmTableCreator:

w2kmeans::ClusterTableCreator< code::LatLonGrid > List of all members.

Public Member Functions

 AlarmTableCreator ()
 AlarmTableCreator (const code::XML::Element &table_element)
 Gets the actions from the config file specified.
void setNotifier (Alarm *a)
code::SmartPtr< code::DataType > createAlarmTable ()
virtual ~AlarmTableCreator ()
void setDomain (const std::string &topLeftCorner, const std::string &botRightCorner, const std::string &spacing)
void addPolygon (const std::string &topLeftCorner, const std::string &botRightCorner, const std::string &spacing)
void setPolygons (const std::string &polygonXMLfile)
void setPolygons (const code::ContourData &contours)
void setPolygons (const code::XML::Element &polygonXMLfile)
void addPolygon (const w2img::TruthPolygon &polygon)
void addInput (const code::Index::Record &rec)
 Add index record from which to extract extra cluster field to add into table properties.
virtual code::SmartPtr< code::DataType > createTable (const code::Time &latestTime, const std::vector< ClusterTableRegion > &regions, const std::string &scale=std::string())
 Create the cluster table based on all the fields already known, and the current time.
void createOutputGrids (const code::LatLonGrid &clusterLabels, const std::vector< ClusterTableRegion > &regions, const code::DataTable &clusterTable, std::vector< code::LatLonGrid > &outputs)
void setExampleGridForRemapping (const code::LatLonGrid &grid)
 If such an example grid is not set, no remapping will be done.

Static Public Member Functions

static AlarmTableCreator newInstance (const std::string &config)
 Create ClusterTableCreator from the XML config file.
static ClusterTableCreator<
code::LatLonGrid > 
newInstance (const code::URL &xml_file)
 Create ClusterTableCreator from the XML config file.

Friends

class Alarm

Constructor & Destructor Documentation

w2kmeans::AlarmTableCreator::AlarmTableCreator (  )  [inline]

w2kmeans::AlarmTableCreator::AlarmTableCreator ( const code::XML::Element &  table_element  ) 

Gets the actions from the config file specified.

virtual w2kmeans::AlarmTableCreator::~AlarmTableCreator (  )  [inline, virtual]


Member Function Documentation

void w2kmeans::ClusterTableCreator< code::LatLonGrid >::addInput ( const code::Index::Record &  rec  )  [inherited]

Add index record from which to extract extra cluster field to add into table properties.

void w2kmeans::AlarmTableCreator::addPolygon ( const w2img::TruthPolygon polygon  ) 

void w2kmeans::AlarmTableCreator::addPolygon ( const std::string &  topLeftCorner,
const std::string &  botRightCorner,
const std::string &  spacing 
)

code::SmartPtr<code::DataType> w2kmeans::AlarmTableCreator::createAlarmTable (  ) 

void w2kmeans::ClusterTableCreator< code::LatLonGrid >::createOutputGrids ( const code::LatLonGrid &  clusterLabels,
const std::vector< ClusterTableRegion > &  regions,
const code::DataTable &  clusterTable,
std::vector< code::LatLonGrid > &  outputs 
) [inherited]

virtual code::SmartPtr<code::DataType> w2kmeans::ClusterTableCreator< code::LatLonGrid >::createTable ( const code::Time &  latestTime,
const std::vector< ClusterTableRegion > &  regions,
const std::string &  scale = std::string() 
) [virtual, inherited]

Create the cluster table based on all the fields already known, and the current time.

static ClusterTableCreator<code::LatLonGrid > w2kmeans::ClusterTableCreator< code::LatLonGrid >::newInstance ( const code::URL &  xml_file  )  [static, inherited]

Create ClusterTableCreator from the XML config file.

Creates no-op ClusterTableCreator if the file doesn't exist.

static AlarmTableCreator w2kmeans::AlarmTableCreator::newInstance ( const std::string &  config  )  [static]

Create ClusterTableCreator from the XML config file.

Creates no-op ClusterTableCreator if the file doesn't exist.

void w2kmeans::AlarmTableCreator::setDomain ( const std::string &  topLeftCorner,
const std::string &  botRightCorner,
const std::string &  spacing 
)

void w2kmeans::ClusterTableCreator< code::LatLonGrid >::setExampleGridForRemapping ( const code::LatLonGrid &  grid  )  [inline, inherited]

If such an example grid is not set, no remapping will be done.

This function works only once; after that it's a no-op.

void w2kmeans::AlarmTableCreator::setNotifier ( Alarm a  )  [inline]

void w2kmeans::AlarmTableCreator::setPolygons ( const code::XML::Element &  polygonXMLfile  ) 

void w2kmeans::AlarmTableCreator::setPolygons ( const code::ContourData &  contours  ) 

void w2kmeans::AlarmTableCreator::setPolygons ( const std::string &  polygonXMLfile  ) 


Friends And Related Function Documentation

friend class Alarm [friend]


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