loggerFileMetaData.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 loggerFileMetaData_H_
00010 #define loggerFileMetaData_H_
00011 
00012 #include "lgrCore.h"
00013 
00014 #include <map>
00015 #include "messageBuffer.h"
00016 
00017 namespace MAKLogger
00018 {
00019    class DtPacket;
00020 
00023    class DT_DLL_LGRCORE DtLoggerFileMetaData
00024    {
00025    public:
00026 
00027       enum DataPosition
00028       {
00030          StartOfFile,
00032          EndOfFile,
00034          MiddleOfFile
00035       };
00036 
00037       DtLoggerFileMetaData();
00038 
00040       virtual ~DtLoggerFileMetaData();
00041 
00045       virtual void addMetaData(DataPosition,DtPacket*);
00046 
00052       virtual const DtPacket* getMetaData(DataPosition position,int type) const;
00053 
00055 
00056 
00057       virtual DtMessageBuffer& getMetaData(DataPosition position);
00058       virtual const DtMessageBuffer& getMetaData(DataPosition) const;
00060 
00064       virtual void clearMetaData(DataPosition);
00065 
00066    protected:
00067 
00068       typedef std::map<DataPosition,DtMessageBuffer> MetaDataMap;
00069 
00071       MetaDataMap myMetaDataMap;
00072    };
00073 }
00074 
00075 #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)