MAK RTIspy API Documentation for HLA 1.3
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 
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 
70 
71 
72 public:
73 
75  static void setMaxDestinations( unsigned int maxDestinations );
76  static unsigned int getMaxDestinations();
77 
79  static unsigned long destinationIndex(unsigned long federateID);
80 
81 protected:
82 
83  const unsigned int myPayloadAlignment;
84  static unsigned int theMaxDestinations;
85 
86 };
87 
88 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)