MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
lgrAnnotations
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
>
13
#include <
lgrUtil/virtualConstructor.h
>
14
#include <vlutil/vlNetTypes.h>
15
class
DtString;
16
class
DtEnvironment;
17
18
namespace
MAKLogger
19
{
20
23
class
DT_DLL_LGRANN
DtLgrAnnotationLoader
24
{
25
public
:
26
27
DT_VIRTUAL_CTR
(
DtLgrAnnotationLoader
,())
28
29
virtual
~
DtLgrAnnotationLoader
();
30
33
virtual
DtEnvironment loadFile(
const
DtString& filename,
bool
& success);
34
35
protected
:
36
37
enum
FileFormat
38
{
39
Format_Unknown
,
40
Format_LegacyBinaryFormat
,
41
Format_XML
42
};
43
45
struct
NetPacketHeader
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
)