LRAUV  revA
BinaryLogReader Class Reference

Defines a LogReader specific to writing binary values to a stream See FileLogReader for input from the filesystem. More...

#include <BinaryLogReader.h>

Inheritance diagram for BinaryLogReader:
Collaboration diagram for BinaryLogReader:

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...
 
LoggersysLogger_
 
const TimestampstartTime_
 
const TimestampendTime_
 
const StrwhileRunningName_
 
LogEnginewriteEngine_
 
LogEnginesyslogEngine_
 
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
InStreamlogStream_
 Stores an InStream. More...
 

Detailed Description

Defines a LogReader specific to writing binary values to a stream See FileLogReader for input from the filesystem.

Constructor & Destructor Documentation

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.

BinaryLogReader::~BinaryLogReader ( )
virtual

Destructor.

BinaryLogReader::BinaryLogReader ( const BinaryLogReader old)
private

Member Function Documentation

Timestamp BinaryLogReader::getFirstTime ( )
inline

References firstTime_.

Referenced by Unserialize::Run().

Timestamp BinaryLogReader::getLastTime ( )
inline

References lastTime_.

Referenced by Unserialize::Run().

Timespan BinaryLogReader::getTimeAdjust ( )
inline

References timeAdjust_.

Referenced by Unserialize::Run().

void BinaryLogReader::setTimeAdjust ( const Timespan timeAdjust)
inline

References timeAdjust_.

Referenced by Unserialize::Run().

Member Data Documentation

const Timestamp& BinaryLogReader::endTime_
private

Referenced by read().

Timestamp BinaryLogReader::firstTime_
private

Referenced by getFirstTime(), and read().

Timestamp BinaryLogReader::lastTime_
private

Referenced by getLastTime(), and read().

bool BinaryLogReader::running_
private

Referenced by read().

const Timestamp& BinaryLogReader::startTime_
private

Referenced by read().

LogEngine* BinaryLogReader::syslogEngine_
private

Referenced by read().

Logger& BinaryLogReader::sysLogger_
private

Referenced by read().

Timespan BinaryLogReader::timeAdjust_
private

GPS Adjustment of time.

Referenced by getTimeAdjust(), read(), and setTimeAdjust().

Timestamp BinaryLogReader::timeBase_
private

Start of the cycle time.

Referenced by read().

unsigned short BinaryLogReader::whileRunningCode_
private

Referenced by read().

const Str& BinaryLogReader::whileRunningName_
private

Referenced by read().

LogEngine* BinaryLogReader::writeEngine_
private

Referenced by read().


The documentation for this class was generated from the following files: