VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hReflRadRecvr.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#if DtHLA
8
9
#ifndef DtReflectedRadioReceiver_H_
10
#define DtReflectedRadioReceiver_H_
11
12
#include "
radioRecvrSR.h
"
13
#include "
hReflectedObj.h
"
14
19
22
class
DT_DLL_VL
DtReflectedRadioReceiver
;
23
typedef
void (*
DtRadioReceiverCallbackFunction
)(
24
DtReflectedRadioReceiver
* obj,
void
* userData);
25
31
32
class
DT_DLL_VL
DtReflectedRadioReceiver
:
public
DtReflectedObject
33
{
34
public
:
35
37
typedef
DtRadioReceiverRepository
* (*DtStateRepCreator)();
38
39
public
:
40
42
DtReflectedRadioReceiver
(
DtHlaObject
* obj,
DtExerciseConn
* conn);
43
45
virtual
~
DtReflectedRadioReceiver
();
46
48
virtual
DtRadioReceiverRepository
* receiverRep()
const
;
49
51
virtual
DtRadioReceiverRepository
* rsr()
const
;
52
54
virtual
DtReflectedRadioReceiver
*
next
()
const
;
55
57
virtual
DtReflectedRadioReceiver
*
prev
()
const
;
58
61
virtual
DtReflectedRadioReceiver
*
wrapNext
()
const
;
62
65
virtual
DtReflectedRadioReceiver
*
wrapPrev
()
const
;
66
68
virtual
void
addPostUpdateCallback(
69
DtRadioReceiverCallbackFunction
cb,
void
* userData);
70
71
virtual
void
removePostUpdateCallback(
72
DtRadioReceiverCallbackFunction
cb,
void
* userData);
73
74
public
:
75
77
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
78
79
protected
:
80
82
DtReflectedRadioReceiver
(
const
DtReflectedRadioReceiver
& orig);
83
85
DtReflectedRadioReceiver
&
operator=
(
86
const
DtReflectedRadioReceiver
& orig);
87
88
protected
:
89
90
static
DtStateRepCreator
theStateRepCreator
;
91
};
92
93
inline
DtRadioReceiverRepository
*
94
DtReflectedRadioReceiver::receiverRep
()
const
95
{
96
return
(
DtRadioReceiverRepository
*)
myStateRep
;
97
}
98
99
inline
DtRadioReceiverRepository
*
DtReflectedRadioReceiver::rsr
()
const
100
{
101
return
(
DtRadioReceiverRepository
*)
myStateRep
;
102
}
103
104
#endif //DtReflectedRadioReceiver_H_
105
#endif //DtHLA
106
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
)