MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrCore
logger.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 logger_H_
10
#define logger_H_
11
12
#include "
lgrCore.h
"
13
#include "
virtualConstructor.h
"
14
#include <vlutil/vlSmartPointers.h>
15
#include <list>
16
#include <
absoluteTime.h
>
17
18
namespace
MAKLogger
19
{
20
21
class
DtCommand;
22
class
DtLgrDynamicLibrary;
23
class
DtLgrCommandHandler;
24
class
DtLgrCommandType;
25
class
DtLgrProtocolRegistration;
26
class
DtLgrSimManager;
27
class
DtLgrSystemDriver;
28
29
typedef
std::list<DtBoost::shared_ptr<DtLgrDynamicLibrary> >
DtLibraryList
;
30
typedef
DtBoost::shared_ptr<DtLgrCommandHandler>
DtLgrCommandHandlerSP
;
31
35
class
DT_DLL_LGRCORE
DtLogger
36
{
37
public
:
38
39
DT_VIRTUAL_CTR
(
DtLogger
,())
40
41
virtual
~
DtLogger
();
42
48
virtual
void
init();
49
54
virtual
void
registerSimulationProtocol(
DtLgrProtocolRegistration
* );
55
57
virtual
const
DtLgrProtocolRegistration
* simulationProtocol()
const
;
58
66
virtual
bool
tick();
67
69
virtual
DtRelativeTime
tickTime()
const
;
70
72
virtual
void
setTickTime(
DtRelativeTime
time);
73
80
virtual
void
submitCommand(
const
DtCommand
& command);
81
83
virtual
DtLgrCommandHandlerSP
getCommandHandler(
const
DtLgrCommandType
& type)
const
;
84
86
virtual
const
DtLibraryList
& libraries()
const
;
87
89
virtual
DtLgrSimManager
* simManager();
90
92
DtLgrSystemDriver
& driver();
93
94
protected
:
95
96
DtLgrProtocolRegistration
*
myRegistration
;
97
100
DtLgrSystemDriver
*
myDriver
;
101
103
DtRelativeTime
myTickTime
;
104
105
protected
:
106
108
static
DtRelativeTime
theDefaultTickTime
;
109
};
110
111
}
112
113
#endif
114
Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)