MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
MAKLogger::DtLoggerPlaybackFile Class Reference

A logger playback file which has an input file and it's format. More...

+ Inheritance diagram for MAKLogger::DtLoggerPlaybackFile:
+ Collaboration diagram for MAKLogger::DtLoggerPlaybackFile:

Public Member Functions

 DtLoggerPlaybackFile (const DtString &filename, bool randomAccess, bool initialize)
 CTOR Under windows, specifying random access causes the OS to cache the file in RAM improving performance of random access. More...
 
virtual ~DtLoggerPlaybackFile ()
 DTOR. More...
 
virtual bool isIncomplete () const
 Is file incomplete (missing end of file meta data)? More...
 
virtual bool hasLastPacket () const
 Has the file set its last packet? More...
 
virtual bool recoverLastPacket ()
 Recover the last packet by seeking from the beginning of the file Return - Last packet found? More...
 
const DtLgrConfigDataconfigData () const
 Get the configuration data used to produce the logger file. More...
 
DtLgrFileFormatterformatter ()
 Get the formatter of the current file. More...
 
const DtLgrFileFormatterformatter () const
 Get the formatter of the current file. More...
 
DtLoggerInputFileinputFile ()
 Get input file, which represents the raw file in the filesystem. More...
 
const DtLoggerInputFileinputFile () const
 Get input file, which represents the raw file in the filesystem. More...
 

Protected Member Functions

void openInputFile (const DtString &filename, bool randomAccess)
 Open a file for input. More...
 
void readMetaData ()
 Read the file's metadata. More...
 
void initialize ()
 Initialize the playback file. More...
 

Protected Attributes

DtLoggerInputFilemyInputFile
 
DtLgrFileFormattermyFileFormatter
 
DtLgrConfigDatamyConfigData
 
bool myIsIncomplete
 

Private Member Functions

 DtLoggerPlaybackFile (const DtLoggerPlaybackFile &)
 Not Implemented. More...
 
DtLoggerPlaybackFileoperator= (const DtLoggerPlaybackFile &)
 Not Implemented. More...
 

Detailed Description

A logger playback file which has an input file and it's format.

Constructor & Destructor Documentation

MAKLogger::DtLoggerPlaybackFile::DtLoggerPlaybackFile ( const DtString &  filename,
bool  randomAccess,
bool  initialize 
)

CTOR Under windows, specifying random access causes the OS to cache the file in RAM improving performance of random access.

virtual MAKLogger::DtLoggerPlaybackFile::~DtLoggerPlaybackFile ( )
virtual

DTOR.

MAKLogger::DtLoggerPlaybackFile::DtLoggerPlaybackFile ( const DtLoggerPlaybackFile )
private

Not Implemented.

Member Function Documentation

const DtLgrConfigData* MAKLogger::DtLoggerPlaybackFile::configData ( ) const

Get the configuration data used to produce the logger file.

DtLgrFileFormatter* MAKLogger::DtLoggerPlaybackFile::formatter ( )

Get the formatter of the current file.

const DtLgrFileFormatter* MAKLogger::DtLoggerPlaybackFile::formatter ( ) const

Get the formatter of the current file.

virtual bool MAKLogger::DtLoggerPlaybackFile::hasLastPacket ( ) const
virtual

Has the file set its last packet?

void MAKLogger::DtLoggerPlaybackFile::initialize ( )
protected

Initialize the playback file.

DtLoggerInputFile* MAKLogger::DtLoggerPlaybackFile::inputFile ( )

Get input file, which represents the raw file in the filesystem.

const DtLoggerInputFile* MAKLogger::DtLoggerPlaybackFile::inputFile ( ) const

Get input file, which represents the raw file in the filesystem.

virtual bool MAKLogger::DtLoggerPlaybackFile::isIncomplete ( ) const
virtual

Is file incomplete (missing end of file meta data)?

void MAKLogger::DtLoggerPlaybackFile::openInputFile ( const DtString &  filename,
bool  randomAccess 
)
protected

Open a file for input.

DtLoggerPlaybackFile& MAKLogger::DtLoggerPlaybackFile::operator= ( const DtLoggerPlaybackFile )
private

Not Implemented.

void MAKLogger::DtLoggerPlaybackFile::readMetaData ( )
protected

Read the file's metadata.

virtual bool MAKLogger::DtLoggerPlaybackFile::recoverLastPacket ( )
virtual

Recover the last packet by seeking from the beginning of the file Return - Last packet found?

Member Data Documentation

DtLgrConfigData* MAKLogger::DtLoggerPlaybackFile::myConfigData
protected
DtLgrFileFormatter* MAKLogger::DtLoggerPlaybackFile::myFileFormatter
protected
DtLoggerInputFile* MAKLogger::DtLoggerPlaybackFile::myInputFile
protected
bool MAKLogger::DtLoggerPlaybackFile::myIsIncomplete
protected

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

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)