loggerRecordFile.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00008 
00009 #ifndef loggerRecordFile_H_
00010 #define loggerRecordFile_H_
00011 
00012 #include "lgrCore.h"
00013 
00014 class DtString;
00015 
00016 namespace MAKLogger
00017 {
00018    class DtLoggerOutputFile;
00019    class DtLgrFileFormatter;
00020    class DtRelativeTime;
00021    class DtLgrBaseSimManager;
00022 
00026    class DT_DLL_LGRCORE DtLoggerRecordFile
00027    {
00028 
00029    protected:
00031       DtLoggerRecordFile(const DtString& filename,int version);
00032 
00033    public:
00035       virtual ~DtLoggerRecordFile();
00036 
00038       DtLoggerOutputFile* outputFile();
00040       const DtLoggerOutputFile* outputFile() const;
00041 
00043       DtLgrFileFormatter* formatter();
00045       const DtLgrFileFormatter* formatter() const;
00046 
00048       virtual void initializeFile();
00049 
00051       virtual void finalizeFile(const DtRelativeTime& duration);
00052 
00053       void initializeTracker(DtLgrBaseSimManager* manager);
00054 
00055    protected:
00057       void writeBeginningOfFile();
00058 
00060       void writeEndOfFile();
00061 
00062       DtLoggerOutputFile* myOutputFile;
00063       DtLgrFileFormatter* myFileFormatter;
00064    };
00065 }
00066 
00067 #endif

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)