MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrAnnotationLoader.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrAnnotationLoader_H_
10 #define lgrAnnotationLoader_H_
11 
12 #include <lgrAnnotations/lgrAnn.h>
14 #include <vlutil/vlNetTypes.h>
15 class DtString;
16 class DtEnvironment;
17 
18 namespace MAKLogger
19 {
20 
24  {
25  public:
26 
28 
29  virtual ~DtLgrAnnotationLoader();
30 
33  virtual DtEnvironment loadFile(const DtString& filename,bool& success);
34 
35  protected:
36 
38  {
41  Format_XML
42  };
43 
46  {
47  DtNetU32 numBytes;
48  DtNetU32 flags;
49  DtNetFloat64 arrivalTime;
50  };
51 
53  FileFormat determineFileFormat(const DtString&);
54 
57  DtEnvironment readBinaryFormat(const DtString& filename,bool& success);
58 
60  DtEnvironment readXMLFormat(const DtString& filename,bool& success);
61 
64  static DtString readOneLine( int fd );
65 
66  };
67 }
68 
69 #endif

Document ID: Generated on Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)