VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
appsrc
vrfMsgDump
vrfDiGuyPrinter.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
class
DtExerciseConn;
12
13
#if DtHLA
14
class
DtReflectedDIGuyObject;
15
class
DtReflectedDIGuyObjectList;
16
#else
17
class
DtExtEntityStateRepository
;
18
class
DtDIGuyCustomPdu;
19
class
DtExtDIGuyCustomPduDecoder
;
20
#endif
21
22
// Registers for all DI-Guy updates and prints the current state.
23
class
DtVrfDiGuyPrinter
24
{
25
private
:
27
28
DtVrfDiGuyPrinter
();
29
DtVrfDiGuyPrinter
(
const
DtVrfDiGuyPrinter
& orig);
30
DtVrfDiGuyPrinter
&
operator=
(
const
DtVrfDiGuyPrinter
& orig);
32
33
public
:
34
35
DtVrfDiGuyPrinter
(DtExerciseConn* exConn);
36
virtual
~DtVrfDiGuyPrinter
();
37
38
virtual
bool
init
();
39
40
protected
:
41
42
#if DtHLA
43
45
46
static
void
diGuyObjectAddedCallback
(DtReflectedDIGuyObject*
object
,
void
* usr);
47
virtual
void
processDiGuyObjectAdded
(DtReflectedDIGuyObject*
object
);
49
51
52
static
void
diGuyObjectUpdatedCallback
(DtReflectedDIGuyObject*
object
,
void
* usr);
53
virtual
void
processDiGuyObjectUpdated
(DtReflectedDIGuyObject*
object
);
55
57
58
static
void
diGuyObjectRemovedCallback
(DtReflectedDIGuyObject*
object
,
void
* usr);
59
virtual
void
processDiGuyObjectRemoved
(DtReflectedDIGuyObject*
object
);
61
62
#else
63
65
66
static
void
diGuyUpdateCallback(DtDIGuyCustomPdu* pdu,
void
* usr);
67
virtual
void
processDiGuyUpdate(DtDIGuyCustomPdu* pdu);
69
70
#endif
71
72
protected
:
73
74
DtExerciseConn*
myExConn
;
75
76
#if DtHLA
77
DtReflectedDIGuyObjectList*
myReflectedDiGuyList
;
78
#else
79
DtExtEntityStateRepository
* myReflectedEntityStateRep;
80
DtExtDIGuyCustomPduDecoder
* myDiGuyDecoder;
81
#endif
82
83
};
84
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)