Public Member Functions | |
SSAPHdaDataTableFormatter () | |
Initialize whatever needs initializing. | |
virtual SmartPtr< DataType > | createDataObject (const std::vector< Buffer > &) const |
Build a HdaDataTable 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 | ~SSAPHdaDataTableFormatter () |
Reproduce responsibly. | |
Buffer | createBuffer (const DataType &) const |
Only because I have to. | |
Static Public Member Functions | |
static void | introduceSelf () |
Introduce SSAPHdaDataTableFormatter to the entire system. |
code::SSAPHdaDataTableFormatter::SSAPHdaDataTableFormatter | ( | ) |
Initialize whatever needs initializing.
virtual code::SSAPHdaDataTableFormatter::~SSAPHdaDataTableFormatter | ( | ) | [inline, virtual] |
Reproduce responsibly.
Buffer code::SSAPHdaDataTableFormatter::createBuffer | ( | const DataType & | ) | const |
Only because I have to.
virtual SmartPtr< DataType > code::SSAPHdaDataTableFormatter::createDataObject | ( | const std::vector< Buffer > & | ) | const [virtual] |
Build a HdaDataTable 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 imageheader and hda table information. |
virtual void code::SSAPHdaDataTableFormatter::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 SSAPHdaDataTableFormatter needs the buffers corresponding to the image header and the hda table file.
static void code::SSAPHdaDataTableFormatter::introduceSelf | ( | ) | [static] |
Introduce SSAPHdaDataTableFormatter to the entire system.
IMPORTANT: The SSAPHdaDataTableFormatter introduces itself using TypeName::HdaTable, so that it may be chosen based on the use of the HdaTable product from ssap. After the Hda DataTable 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 Hda TableTrackTrend is ready to be constructed, since the DataHistoryFormatter knows to grab all HdaDataTables from the last hour. The Index is also notified that the latest HdaDataTable is available, for algs who want the latest table only. (So, intro as HdaTable, notify as HdaDataHistory -> crazy but useful).