#include <MSHistoryHandler.h>
Collaboration diagram for casa::MSHistoryHandler:

Internal
Handle the history info that needs to be archived in ms
This class provides access to the MS history via single method calls A couple of the simple methods are independent and can be called without constructing.
Definition at line 54 of file MSHistoryHandler.h.
Public Member Functions | |
| MSHistoryHandler (MeasurementSet &ms, String app="") | |
| Construct the history handler from an ms. | |
| MSHistoryHandler & | operator= (MSHistoryHandler &other) |
| ~MSHistoryHandler () | |
| Destructor. | |
| void | addMessage (String message, String cliComm="", String origin="") |
| Add message and/or CLI command to the history table. | |
| void | addMessage (LogIO &message, String cliComm="") |
| In this version the LogIO object need to have a valid LogSink with messages in it. | |
| void | addMessage (LogSinkInterface &sink, String cliComm="") |
| void | cliCommand (String &cliComm) |
| void | cliCommand (LogIO &cliComm) |
| void | cliCommand (LogSinkInterface &sink) |
Static Public Member Functions | |
| static void | addMessage (MeasurementSet &ms, String message, String app="", String cliComm="", String origin="") |
| Add a string message. | |
Private Member Functions | |
| MSHistoryHandler () | |
| Prevent use of default constructor. | |
Private Attributes | |
| MSHistoryColumns * | msHistCol_p |
| MSHistory | histTable_p |
| String | application_p |
| casa::MSHistoryHandler::MSHistoryHandler | ( | MeasurementSet & | ms, | |
| String | app = "" | |||
| ) |
Construct the history handler from an ms.
| casa::MSHistoryHandler::~MSHistoryHandler | ( | ) |
Destructor.
| casa::MSHistoryHandler::MSHistoryHandler | ( | ) | [inline, private] |
| MSHistoryHandler& casa::MSHistoryHandler::operator= | ( | MSHistoryHandler & | other | ) |
| static void casa::MSHistoryHandler::addMessage | ( | MeasurementSet & | ms, | |
| String | message, | |||
| String | app = "", |
|||
| String | cliComm = "", |
|||
| String | origin = "" | |||
| ) | [static] |
Add a string message.
This method does not need construction .\..can be called explicitly
Add message and/or CLI command to the history table.
| void casa::MSHistoryHandler::addMessage | ( | LogSinkInterface & | sink, | |
| String | cliComm = "" | |||
| ) |
| void casa::MSHistoryHandler::cliCommand | ( | String & | cliComm | ) |
| void casa::MSHistoryHandler::cliCommand | ( | LogIO & | cliComm | ) |
| void casa::MSHistoryHandler::cliCommand | ( | LogSinkInterface & | sink | ) |
Definition at line 90 of file MSHistoryHandler.h.
MSHistory casa::MSHistoryHandler::histTable_p [private] |
Definition at line 93 of file MSHistoryHandler.h.
String casa::MSHistoryHandler::application_p [private] |
Definition at line 94 of file MSHistoryHandler.h.
1.5.1