VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
fedTimeCbList.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
9
10
#ifndef DtFedTimeCbList_H_
11
#define DtFedTimeCbList_H_
12
13
#if DtHLA
14
15
#include <
vlutil/vlList.h
>
16
17
18
#include "
rtiNamespace.h
"
19
20
21
typedef
void (*
DtFedTimeCb
)(
22
#if DtHLA_1516
23
const
RTI::LogicalTime &theFedTime,
24
#else
25
const
RTI::FedTime &theFedTime,
26
#endif
27
void
*theUserData);
28
34
35
class
DT_DLL_VL
DtFedTimeCbList
36
{
37
public
:
38
40
DtFedTimeCbList
();
41
43
virtual
~
DtFedTimeCbList
();
44
46
DtFedTimeCbList
(
const
DtFedTimeCbList
& orig);
47
49
DtFedTimeCbList
& operator=(
const
DtFedTimeCbList
& orig);
50
53
virtual
int
add(
DtFedTimeCb
cb,
void
* usr);
54
virtual
int
remove
(
DtFedTimeCb
cb,
void
* usr);
55
57
virtual
void
clear();
58
62
#if DtHLA_1516
63
virtual
void
apply(
const
RTI::LogicalTime &theFedTime);
64
#else
65
virtual
void
apply(
const
RTI::FedTime &theFedTime);
66
#endif
67
68
protected
:
69
73
void
dtorClear();
74
77
void
ctorCopyList(
const
DtFedTimeCbList
& orig);
78
79
protected
:
80
81
DtList
myList
;
82
};
83
84
#endif
85
#endif
86
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
)