MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
loggerInputFile.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef loggerInputFile_H_
11 #define loggerInputFile_H_
12 
13 #include "loggerFile.h"
14 #include <lgrUtil/filePosition.h>
16 
17 class DtString;
18 
19 namespace MAKLogger
20 {
24  {
25  public:
31  DT_VIRTUAL_CTR(DtLoggerInputFile,(const DtString&, bool randomAccess))
32 
33 
34  virtual ~DtLoggerInputFile();
35 
37  virtual int fileDescriptor();
38 
41  virtual DtFilePosition startOfPackets();
42 
43  protected:
45  void openFileForInput(bool randomAccess);
46 
48  void close();
49 
51  int readFileVersion();
52 
54  virtual void setFileDescriptor(int fd);
55 
56  protected:
58 
59  };
60 }
61 
62 #endif
DtInt64 DtFilePosition
The position in a file, stored as a 64bit unsigned integer.
Definition: filePosition.h:18
#define DT_VIRTUAL_CTR(CLASS_NAME, ARG_TYPES_LIST)
Declare a Virtual Constructor Create using DT_VIRTUAL_CTR(CLASS_NAME,ARG_TYPES_LIST) Where CLASS_NAME...
Definition: virtualConstructor.h:34
Contains MAKLogger::DtFilePosition typedef.
Contains DT_VIRTUAL_CTR DT_VIRTUAL_CTR_DEFAULTS DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VI...
A file opened for reading.
Definition: loggerInputFile.h:23
#define DT_DLL_LGRCORE
Definition: lgrCore.h:19
int myFileDescriptor
Definition: loggerInputFile.h:57
Base logger class which represents the basic Logger file.
Definition: loggerFile.h:25
Contains MAKLogger::DtLoggerFile class.

Document ID: Generated on Mon Mar 22 15:30:17 EDT 2021 from SVN revision 226440
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)