MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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) || defined(DtIFSPEC1516_2025)
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 
31 {
32 
33 public:
34 
36  DtRtiMtdDestinationList( caddr_t msg );
38 
40  virtual ~DtRtiMtdDestinationList();
41 
42 private:
43 
46 
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 
83  static void setBit(DtBitMask& bitMask, DtFederateHandle federateHandle, bool isOn = true);
84 
85 protected:
86 
87  const unsigned int myPayloadAlignment;
88  static unsigned int theMaxDestinations;
89 
90 };
91 
92 #endif
Definition: metadataDestList.h:30
DtRtiMetadata is added to some RTI messages depending on the configuration of the RTI...
Definition: metadata.h:123
const unsigned int myPayloadAlignment
Definition: metadataDestList.h:87
This file contains the declaration of the DtRtiMetadata class which provides a framework for subclass...
DtRtiMetadata & operator=(const DtRtiMetadata &)
Assignment Operator Not Implemented – Assignment Not Allowed!
virtual void print(MAKRti::DtOutputStream &stream=MAKRti::DtDebug)
Print this Metadata.
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
DtHandle DtFederateHandle
Definition: internalTypes.h:46
DtBitMask represents a variable length bit-field which may be used to represent an array of boolean d...
Definition: bitMask.h:24
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
static unsigned int theMaxDestinations
Definition: metadataDestList.h:88

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)