BoilerPlate-LightweightLogging Service OMG Formal/03-11-03 |
#include <LogBrowser.h>
Collaboration diagram for LogBrowser:
Responsible for maintaining state for a LogConsumer and controlling LogConsumer queries. The state in a LogBrowser is maintained from call to call by a LogConsumer.
Public Member Functions | |
LogBrowser (LogState &log_state) | |
~LogBrowser () | |
CosLwLog::RecordId | find_by_time (const CosLwLog::LogTime &mark) |
Find a Record Id that was recorded at or immediately after the specified LogTime. | |
void | prepare (const CosLwLog::RecordId &start_rec) |
Prepare the LogBrowser for queries. | |
CosLwLog::RecordId | load_records (std::list< CosLwLog::LogRecord > &cont, const CORBA::ULong &maximum, const LogRecordFilter &filter) |
|
ctor Initializes instance members and references
|
|
dtor Closes any open files |
|
Find a Record Id that was recorded at or immediately after the specified LogTime. Finds the correct archive and opens it to the record that was written at the specified time or immediately after the specified time
|
|
Load the Records from the archive into a std::list Load the LogRecords that fit the constraints of a filter into a provided std:list up to a maximum number of LogRecords
|
|
Prepare the LogBrowser for queries. Finds the archive containing the specified RecordId and opens it to that position. If an archive is already opened and the RecordId is contained in it, then the archive is positioned to the specified RecordId.
|
Copyright © BoilerPlate.org | Generated on Tue Nov 30 16:33:10 2004 for BoilerPlate CosLightweightLogging Service by 1.3.7 |