|
LRAUV
revA
|
Defines a LogReader specific to writing binary values to a stream See FileLogReader for input from the filesystem. More...
#include <BinaryLogReader.h>


Public Member Functions | |
| BinaryLogReader (Logger &sysLogger, const Timestamp &startTime=Timestamp::NOT_SET_TIME, const Timestamp &endTime=Timestamp::NOT_SET_TIME, const Str &whileRunningName=Str::EMPTY_STR, LogEngine *writeEngine=NULL, LogEngine *syslogEngine=NULL) | |
| Default Constructor. More... | |
| virtual | ~BinaryLogReader () |
| Destructor. More... | |
| virtual unsigned int | read () |
| Read the log. More... | |
| Timespan | getTimeAdjust () |
| void | setTimeAdjust (const Timespan &timeAdjust) |
| Timestamp | getFirstTime () |
| Timestamp | getLastTime () |
Public Member Functions inherited from LogReader | |
| virtual | ~LogReader () |
| Destructor. More... | |
| virtual void | setInStream (InStream &inStream) |
| Sets the InStream. More... | |
| virtual bool | isValid () |
| Return true if logStream_ is available. More... | |
Private Member Functions | |
| BinaryLogReader (const BinaryLogReader &old) | |
Private Attributes | |
| Timestamp | timeBase_ |
| Start of the cycle time. More... | |
| Timespan | timeAdjust_ |
| GPS Adjustment of time. More... | |
| Logger & | sysLogger_ |
| const Timestamp & | startTime_ |
| const Timestamp & | endTime_ |
| const Str & | whileRunningName_ |
| LogEngine * | writeEngine_ |
| LogEngine * | syslogEngine_ |
| Timestamp | firstTime_ |
| Timestamp | lastTime_ |
| unsigned short | whileRunningCode_ |
| bool | running_ |
Additional Inherited Members | |
Protected Member Functions inherited from LogReader | |
| LogReader () | |
| Protected constructor for pure virtual class. More... | |
| LogReader (InStream &inStream) | |
| Protected constructor for pure virtual class. More... | |
Protected Attributes inherited from LogReader | |
| InStream * | logStream_ |
| Stores an InStream. More... | |
Defines a LogReader specific to writing binary values to a stream See FileLogReader for input from the filesystem.
| BinaryLogReader::BinaryLogReader | ( | Logger & | sysLogger, |
| const Timestamp & | startTime = Timestamp::NOT_SET_TIME, |
||
| const Timestamp & | endTime = Timestamp::NOT_SET_TIME, |
||
| const Str & | whileRunningName = Str::EMPTY_STR, |
||
| LogEngine * | writeEngine = NULL, |
||
| LogEngine * | syslogEngine = NULL |
||
| ) |
Default Constructor.
|
virtual |
Destructor.
|
private |
|
inline |
References firstTime_.
Referenced by Unserialize::Run().
|
inline |
References lastTime_.
Referenced by Unserialize::Run().
|
inline |
References timeAdjust_.
Referenced by Unserialize::Run().
|
virtual |
Read the log.
Implements LogReader.
References EventEntry::COMPONENT_ACTION, EventEntry::COMPONENT_MISSION_RUN, LogEntry::DIRECTORY_LOG_ENTRY, Str::EMPTY_STR, endTime_, InStream::eof(), LogEntry::EVENT_LOG_ENTRY, Slate::FindCodedName(), firstTime_, EventEntry::getActorCode(), CodedStr::getCode(), EventEntry::getComponentAction(), EventEntry::getEventType(), EventEntry::getRunLoop(), LogEntry::getTimestamp(), LogEntry::getType(), lastTime_, LogReader::logStream_, CodedStr::NO_CODE, Timestamp::NOT_SET_TIME, LogEngine::processEntry(), LogEngine::processQueue(), LogEntry::Read(), running_, startTime_, syslogEngine_, sysLogger_, timeAdjust_, timeBase_, whileRunningCode_, whileRunningName_, writeEngine_, and Timespan::ZERO_TIMESPAN.
|
inline |
References timeAdjust_.
Referenced by Unserialize::Run().
|
private |
Referenced by getFirstTime(), and read().
|
private |
Referenced by getLastTime(), and read().
|
private |
Referenced by read().
|
private |
GPS Adjustment of time.
Referenced by getTimeAdjust(), read(), and setTimeAdjust().
|
private |
Referenced by read().