MAK RTIspy API Documentation for HLA 1516
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
libsrc
RTI
metadataDestList.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2006 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: metadataDestList.h,v $ $Revision: 1.7 $ $State: Exp $
7
*********************************************************************/
8
9
#ifndef DtRtiMtdDestinationList_H_
10
#define DtRtiMtdDestinationList_H_
11
16
17
#include "
metadata.h
"
18
#include "
bitMask.h
"
19
20
#if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
21
#include <RTI/Handle.h>
22
#else
23
#ifdef DtIFSPEC13DLC
24
#include "
RTI13.h
"
25
#else
26
#include "
RTI.hh
"
27
#endif
28
#endif
29
30
class
DT_DLL_LRC
DtRtiMtdDestinationList
:
public
DtRtiMetadata
31
{
32
33
public
:
34
36
DtRtiMtdDestinationList
( caddr_t msg );
37
DtRtiMtdDestinationList
(
DtRtiMsg
* msg );
38
40
virtual
~
DtRtiMtdDestinationList
();
41
42
private
:
43
45
DtRtiMtdDestinationList
(
const
DtRtiMtdDestinationList
&);
46
48
DtRtiMtdDestinationList
&
operator=
(
const
DtRtiMtdDestinationList
&);
49
50
public
:
51
57
virtual
int
get
(
DtBitMask
& mask )
const
;
58
62
virtual
bool
set
(
DtBitMask
& destinations,
unsigned
int
maskSize = 0 );
63
65
virtual
bool
addDestination(
DtFederateHandle
handle);
66
68
virtual
bool
removeDestination(
DtFederateHandle
handle);
69
71
virtual
void
print
(MAKRti::DtOutputStream& stream = MAKRti::DtDebug);
72
73
public
:
74
76
static
void
setMaxDestinations(
unsigned
int
maxDestinations );
77
static
unsigned
int
getMaxDestinations();
78
80
static
unsigned
long
destinationIndex(
unsigned
long
federateID);
81
82
protected
:
83
84
const
unsigned
int
myPayloadAlignment
;
85
static
unsigned
int
theMaxDestinations
;
86
87
};
88
89
#endif
Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (
www.mak.com
)