Public Member Functions | Protected Member Functions | Protected Attributes
MAKLogger::DtLoggerInputFile Class Reference

A file opened for reading. More...

+ Inheritance diagram for MAKLogger::DtLoggerInputFile:
+ Collaboration diagram for MAKLogger::DtLoggerInputFile:

List of all members.

Public Member Functions

virtual ~DtLoggerInputFile ()
 Opens a file for input and reads the version and any meta data.
virtual int fileDescriptor ()
 Get the file descriptor to access the file.
virtual DtFilePosition startOfPackets ()
 Get the position for the start of packets.

Protected Member Functions

void openFileForInput ()
 Non virtual since called by constructor.
void close ()
 Non virtual since called by destructor.
int readFileVersion ()
 Non virtual since called by constructor.
virtual void setFileDescriptor (int fd)
 Set the file descriptor.

Protected Attributes

int myFileDescriptor

Detailed Description

A file opened for reading.


Constructor & Destructor Documentation

virtual MAKLogger::DtLoggerInputFile::~DtLoggerInputFile ( ) [virtual]

Opens a file for input and reads the version and any meta data.

Exceptions:
DtFileOpenErrorif unable to open the file.
DtFileReadErrorif unable to read from the file. DTOR.

Member Function Documentation

virtual DtFilePosition MAKLogger::DtLoggerInputFile::startOfPackets ( ) [virtual]

Get the position for the start of packets.

Typically there is the version.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)