Public Member Functions | |
SSAPMesoDataTableFormatter () | |
Initialize whatever needs initializing. | |
virtual SmartPtr< DataType > | createDataObject (const std::vector< Buffer > &) const |
Build a MesoDataTable from a vector of buffers and return a DataType pointer to it. | |
virtual void | getBuffersToBuild (std::vector< std::string > &) const |
Fill a vector of strings; list the buffers this Formatter needs to construct the data object. | |
virtual | ~SSAPMesoDataTableFormatter () |
Reproduce responsibly. | |
Buffer | createBuffer (const DataType &) const |
Only because I have to. | |
Static Public Member Functions | |
static void | introduceSelf () |
Introduce SSAPMesoDataTableFormatter to the entire system. |
code::SSAPMesoDataTableFormatter::SSAPMesoDataTableFormatter | ( | ) |
Initialize whatever needs initializing.
virtual code::SSAPMesoDataTableFormatter::~SSAPMesoDataTableFormatter | ( | ) | [inline, virtual] |
Reproduce responsibly.
Buffer code::SSAPMesoDataTableFormatter::createBuffer | ( | const DataType & | ) | const |
Only because I have to.
virtual SmartPtr< DataType > code::SSAPMesoDataTableFormatter::createDataObject | ( | const std::vector< Buffer > & | ) | const [virtual] |
Build a MesoDataTable from a vector of buffers and return a DataType pointer to it.
This function is inherited from Formatter.
vector | of bufs vector of buffers containing image header, meso table information, and meso trend information from ssap. |
virtual void code::SSAPMesoDataTableFormatter::getBuffersToBuild | ( | std::vector< std::string > & | ) | const [virtual] |
Fill a vector of strings; list the buffers this Formatter needs to construct the data object.
For example, the MesoDataTableFormatter needs the buffers corresponding to the image header, the meso table file, and the meso trend file.
static void code::SSAPMesoDataTableFormatter::introduceSelf | ( | ) | [static] |
Introduce SSAPMesoDataTableFormatter to the entire system.
IMPORTANT: The SSAPMesoDataTableFormatter introduces itself using TypeName::MesoTable, so that it may be chosen based on the use of the MesoTable product from ssap. After the MesoDataTable object is made, it will be used to write out a XML file corresponding to itself. Then, the Index will be notified that the latest Meso DataHistory is ready to be constructed, since the DataHistoryFormatter knows to grab all MesoDataTables from the last hour. The Index is also notified that the latest MesoDataTable is available, for algs ho want the latest table only. (So, intro as MesoTable, notify as Meso DataHistory -> crazy but useful).