MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
privRefs.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2011 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 #ifdef DtIFSPEC13
11 
12 #include "ambImp.h"
13 
14 #ifndef DtIFSPEC13DLC
15 #include "RTI.hh"
16 #else
17 #include "RTI13.h"
18 #endif
19 
20 class DtRIDParameters;
22 
23 class DT_DLL_LRC DtPrivRefs
24 {
25 public:
26  DtRtiAmbassadorImplementor* amb;
27 };
28 
29 inline DtPrivRefs* DtRtiPrivateData(RTI::RTIambassador* rtiAmb)
30 {
31  return (DtPrivRefs*)rtiAmb->privateData;
32 }
33 
34 inline DtRIDParameters* DtRtiPrivateDataParams(RTI::RTIambassador* rtiAmb)
35 {
36  return ((DtPrivRefs*)rtiAmb->privateData)->amb->params();
37 }
38 
39 inline DtRtiAmbassadorImplementor* DtRtiPrivateDataImplementor(
40  RTI::RTIambassador* rtiAmb)
41 {
42  return ((DtPrivRefs*)rtiAmb->privateData)->amb;
43 }
44 
45 inline DtRtiAmbObserverList* DtRtiPrivateDataObservers(
46  RTI::RTIambassador* rtiAmb)
47 {
48  return ((DtPrivRefs*)rtiAmb->privateData)->amb->observers();
49 }
50 
51 #endif
52 
Definition: ambObsList.h:20
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
This file contains the declaration of the RTI Amabassador Implementor.

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)