VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hdIGuyObjectPub.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2013 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
9
10
#pragma once
11
12
#if DtHLA
13
14
#include <
vl/hObjPub.h
>
15
16
17
class
DtDIGuyObjectStateRepository
;
18
23
class
DT_DLL_VL
DtDIGuyObjectPublisher
:
public
DtObjectPublisher
24
{
25
public
:
27
typedef
DtDIGuyObjectStateRepository
* (*DtStateRepCreator)();
28
29
public
:
31
DtDIGuyObjectPublisher
(
32
DtDIGuyObjectStateRepository
* stateRepToUse,
33
DtExerciseConn
* conn,
34
const
char
* name = 0,
35
const
DtDDMRegionSet
* regionSetToUse = 0);
36
38
DtDIGuyObjectPublisher
(
39
RTI::ObjectClassHandle h,
40
DtExerciseConn
* conn,
41
const
char
* name = 0,
42
const
DtDDMRegionSet
* regionSetToUse = 0);
43
45
DtDIGuyObjectPublisher
(
46
DtExerciseConn
* conn,
47
const
char
* name = 0,
48
const
DtDDMRegionSet
* regionSetToUse = 0);
49
55
DtDIGuyObjectPublisher
(
DtHlaObjectWithStateRep
* obj,
DtExerciseConn
* conn);
56
58
static
const
char
* objectClassName();
59
61
virtual
~
DtDIGuyObjectPublisher
();
62
63
private
:
65
DtDIGuyObjectPublisher
(
const
DtDIGuyObjectPublisher
& orig);
66
68
DtDIGuyObjectPublisher
&
operator=
(
69
const
DtDIGuyObjectPublisher
& orig);
70
71
public
:
72
75
virtual
DtDIGuyObjectStateRepository
* dIGuyObjectStateRep();
76
78
virtual
DtDIGuyObjectStateRepository
* dsr();
79
80
public
:
82
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
83
static
DtStateRepCreator stateRepCreator();
84
85
protected
:
86
static
DtStateRepCreator
theStateRepCreator
;
87
};
88
89
inline
DtDIGuyObjectStateRepository
*
DtDIGuyObjectPublisher::dIGuyObjectStateRep
()
90
{
91
return
(
DtDIGuyObjectStateRepository
*)
myStateRep
;
92
}
93
94
inline
DtDIGuyObjectStateRepository
*
DtDIGuyObjectPublisher::dsr
()
95
{
96
return
(
DtDIGuyObjectStateRepository
*)
myStateRep
;
97
}
98
99
100
101
#endif
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)