![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 2011 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00008 00009 #pragma once 00010 #ifdef DtIFSPEC13 00011 00012 #include "ambImp.h" 00013 00014 #ifndef DtIFSPEC13DLC 00015 #include "RTI.hh" 00016 #else 00017 #include "RTI13.h" 00018 #endif 00019 00020 class DtRIDParameters; 00021 class DtRtiAmbObserverList; 00022 00023 class DT_DLL_LRC DtPrivRefs 00024 { 00025 public: 00026 DtRtiAmbassadorImplementor* amb; 00027 }; 00028 00029 inline DtPrivRefs* DtRtiPrivateData(RTI::RTIambassador* rtiAmb) 00030 { 00031 return (DtPrivRefs*)rtiAmb->privateData; 00032 } 00033 00034 inline DtRIDParameters* DtRtiPrivateDataParams(RTI::RTIambassador* rtiAmb) 00035 { 00036 return ((DtPrivRefs*)rtiAmb->privateData)->amb->params(); 00037 } 00038 00039 inline DtRtiAmbassadorImplementor* DtRtiPrivateDataImplementor( 00040 RTI::RTIambassador* rtiAmb) 00041 { 00042 return ((DtPrivRefs*)rtiAmb->privateData)->amb; 00043 } 00044 00045 inline DtRtiAmbObserverList* DtRtiPrivateDataObservers( 00046 RTI::RTIambassador* rtiAmb) 00047 { 00048 return ((DtPrivRefs*)rtiAmb->privateData)->amb->observers(); 00049 } 00050 00051 #endif //! DtIFSPEC13 00052