VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
diGuyObjectPublisherHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2016 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#pragma once
8
9
#include <
vl/objectPublisher.h
>
10
11
class
DtDIGuyObjectStateRepository
;
12
13
#if DtHLA
14
19
class
DT_DLL_VL
DtDIGuyObjectPublisher
:
public
DtObjectPublisher
20
{
21
public
:
23
typedef
DtDIGuyObjectStateRepository
* (*DtStateRepCreator)();
24
25
public
:
27
DtDIGuyObjectPublisher
(
28
DtDIGuyObjectStateRepository
* stateRepToUse,
29
DtExerciseConn
* conn,
30
const
char
* name = 0,
31
const
DtDDMRegionSet
* regionSetToUse = 0);
32
34
DtDIGuyObjectPublisher
(
35
RTI::ObjectClassHandle h,
36
DtExerciseConn
* conn,
37
const
char
* name = 0,
38
const
DtDDMRegionSet
* regionSetToUse = 0);
39
41
DtDIGuyObjectPublisher
(
42
DtExerciseConn
* conn,
43
const
char
* name = 0,
44
const
DtDDMRegionSet
* regionSetToUse = 0);
45
51
DtDIGuyObjectPublisher
(
DtHlaObjectWithStateRep
* obj,
DtExerciseConn
* conn);
52
54
static
const
char
* objectClassName();
55
57
virtual
~
DtDIGuyObjectPublisher
();
58
59
protected
:
60
65
DtDIGuyObjectPublisher
(
66
const
char
* name = 0,
67
const
DtDDMRegionSet
* regionSetToUse = 0);
68
69
private
:
71
DtDIGuyObjectPublisher
(
const
DtDIGuyObjectPublisher
& orig);
72
74
DtDIGuyObjectPublisher
&
operator=
(
75
const
DtDIGuyObjectPublisher
& orig);
76
77
public
:
78
81
virtual
DtDIGuyObjectStateRepository
* dIGuyObjectStateRep();
82
84
virtual
DtDIGuyObjectStateRepository
* dsr();
85
86
public
:
88
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
89
static
DtStateRepCreator stateRepCreator();
90
91
protected
:
92
static
DtStateRepCreator
theStateRepCreator
;
93
};
94
95
inline
DtDIGuyObjectStateRepository
*
DtDIGuyObjectPublisher::dIGuyObjectStateRep
()
96
{
97
return
(
DtDIGuyObjectStateRepository
*)
myStateRep
;
98
}
99
100
inline
DtDIGuyObjectStateRepository
*
DtDIGuyObjectPublisher::dsr
()
101
{
102
return
(
DtDIGuyObjectStateRepository
*)
myStateRep
;
103
}
104
105
106
#endif //DtHLA
Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)