Public Member Functions | |
SSAPTdaDataTableFormatter () | |
Initialize whatever needs initializing. | |
virtual SmartPtr< DataType > | createDataObject (const std::vector< Buffer > &) const |
Build a TdaDataTable 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 | ~SSAPTdaDataTableFormatter () |
Reproduce responsibly. | |
Buffer | createBuffer (const DataType &) const |
Only because I have to. | |
Static Public Member Functions | |
static void | introduceSelf () |
Introduce SSAPTdaDataTableFormatter to the entire system. | |
static void | do_notification_hack () |
Only because I have to. |
code::SSAPTdaDataTableFormatter::SSAPTdaDataTableFormatter | ( | ) |
Initialize whatever needs initializing.
virtual code::SSAPTdaDataTableFormatter::~SSAPTdaDataTableFormatter | ( | ) | [inline, virtual] |
Reproduce responsibly.
Buffer code::SSAPTdaDataTableFormatter::createBuffer | ( | const DataType & | ) | const |
Only because I have to.
virtual SmartPtr< DataType > code::SSAPTdaDataTableFormatter::createDataObject | ( | const std::vector< Buffer > & | ) | const [virtual] |
Build a TdaDataTable 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, tvs table information, and tdat trend information from ssap. |
static void code::SSAPTdaDataTableFormatter::do_notification_hack | ( | ) | [static] |
Only because I have to.
virtual void code::SSAPTdaDataTableFormatter::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 TdaDataTableFormatter needs the buffers corresponding to the image header, the tda table file, and the tdat trend file.
static void code::SSAPTdaDataTableFormatter::introduceSelf | ( | ) | [static] |
Introduce SSAPTdaDataTableFormatter to the entire system.
IMPORTANT: The SSAPTdaDataTableFormatter introduces itself using TypeName::TDATable, so that it may be chosen based on the use of the TdaTable product from ssap. After the TdaDataTable 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 TdaTableHistory is ready to be constructed, since the DataHistoryFormatter knows to grab all TdaDataTables from the last hour. (So, intro as TDATable, notify as Tda DataHistory -> crazy but useful).