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