code::W2algsBuilder Class Reference

Inheritance diagram for code::W2algsBuilder:

code::Builder List of all members.

Detailed Description

Build a DataType for display.

Author:
Lulin Song
Version:
Id
code_W2algsBuilder.h,v 1.10 2009/06/02 20:17:39 lakshman Exp


Public Types

 BUILDER
 STORAGE_TYPE
 DEVICE_NAME
 FORMATTER_NAME
 MESSAGE_ID
enum  BuilderParams {
  BUILDER, STORAGE_TYPE, DEVICE_NAME, FORMATTER_NAME,
  MESSAGE_ID
}
 Parameters used by createObject(). More...

Public Member Functions

virtual SmartPtr< DataTypecreateObject (const std::vector< std::string > &parms, const Index *)
 Create a DataType based on the arguments passed in.
virtual ~W2algsBuilder ()
SmartPtr< DataTypecreateObject (const Index *index)
 Convenience function that passes empty vector to createObject.

Static Public Member Functions

static void introduceSelf ()
static URL getFileName (const std::vector< std::string > &parms, bool builder_type_removed=false)
static SmartPtr< BuildergetBuilder (const std::string &sourceType)
 Convenience function to get the builder for a sourceType, eg.

Protected Member Functions

 W2algsBuilder ()


Member Enumeration Documentation

enum code::W2algsBuilder::BuilderParams

Parameters used by createObject().

Enumerator:
BUILDER 
STORAGE_TYPE 
DEVICE_NAME 
FORMATTER_NAME 
MESSAGE_ID 


Constructor & Destructor Documentation

virtual code::W2algsBuilder::~W2algsBuilder (  )  [inline, virtual]

code::W2algsBuilder::W2algsBuilder (  )  [inline, protected]


Member Function Documentation

SmartPtr<DataType> code::Builder::createObject ( const Index index  )  [inherited]

Convenience function that passes empty vector to createObject.

virtual SmartPtr< DataType > code::W2algsBuilder::createObject ( const std::vector< std::string > &  parms,
const Index  
) [virtual]

Create a DataType based on the arguments passed in.

The arguments must match the list specified in the BuilderParams enum:

  1. storage type (e.g., LinearBuffer)
  2. output device with absolute path (e.g. anubis.protect.nssl:/data/realtime/ltng/US_ltgdata.lb)
  3. formatter name (e.g., xmldata)
  4. message id (e.g., 372885)

Parameters:
index The Index from which the record was created. The TableHistory formatters will use this to obtain all the records in a particular time interval.

Implements code::Builder.

static SmartPtr< Builder > code::Builder::getBuilder ( const std::string &  sourceType  )  [static, inherited]

Convenience function to get the builder for a sourceType, eg.

hires.

Parameters:
sourceType The sourceType name, such as "AWIPS" or "hires"

static URL code::W2algsBuilder::getFileName ( const std::vector< std::string > &  parms,
bool  builder_type_removed = false 
) [static]

static void code::W2algsBuilder::introduceSelf (  )  [static]


Generated on Fri May 4 13:40:12 2012 for WDSS-IIw2 by  doxygen 1.4.7