MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrCore
loggerOutputFile.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 loggerOutputFile_H_
11
#define loggerOutputFile_H_
12
13
#include "
loggerFile.h
"
14
#include "
filePosition.h
"
15
16
class
DtString
;
17
18
namespace
MAKLogger
19
{
22
class
DT_DLL_LGRCORE
DtLoggerOutputFile
:
public
DtLoggerFile
23
{
24
25
public
:
28
DtLoggerOutputFile
(
const
DtString
& filename,
int
version,
bool
truncate =
true
);
29
30
private
:
32
DtLoggerOutputFile
(
const
DtLoggerOutputFile
&);
34
DtLoggerOutputFile
& operator=(
const
DtLoggerOutputFile
&);
35
public
:
36
38
virtual
~
DtLoggerOutputFile
();
39
41
virtual
int
fileDescriptor();
42
45
virtual
DtFilePosition
startOfData();
46
48
virtual
DtFilePosition
fileSize();
49
50
protected
:
51
53
void
openFileForOutput(
bool
truncate =
true
);
54
56
void
writeFileVersion(
int
version);
57
59
virtual
void
setFileDescriptor(
int
fd);
60
61
protected
:
62
int
myFileDescriptor
;
63
};
64
}
65
66
#endif
Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)