![]() |
MAK RTIspy API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 2001 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: serAsyDel.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 *********************************************************************/ 00008 #ifdef DtMOM 00009 00012 00013 #ifndef DtEnableAsynchronousDeliveryInteraction_H_ 00014 #define DtEnableAsynchronousDeliveryInteraction_H_ 00015 00016 #include "rtiMsConfig.h" 00017 #include "internalTypes.h" 00018 #include "mInteraction.h" 00019 #include <vlutil/vlList.h> 00020 00021 class DtMomInterCbMgr; 00022 class DtEnableAsynchronousDeliveryInteraction; 00023 typedef void (*DtEnableAsynchronousDeliveryInteractionCb) 00024 (const DtEnableAsynchronousDeliveryInteraction& inter, void* usr); 00025 00026 class DT_DLL_LRC DtEnableAsynchronousDeliveryInteraction : 00027 public DtServiceInteraction 00028 { 00029 public: 00030 00032 DtEnableAsynchronousDeliveryInteraction(); 00033 00035 virtual ~DtEnableAsynchronousDeliveryInteraction(); 00036 00038 DtEnableAsynchronousDeliveryInteraction( 00039 const DtEnableAsynchronousDeliveryInteraction& orig); 00040 00042 DtEnableAsynchronousDeliveryInteraction& operator=( 00043 const DtEnableAsynchronousDeliveryInteraction& orig); 00044 00047 virtual const DtPhvps& phvps(); 00048 00051 virtual bool setFromPhvps(const DtPhvps& phvps); 00052 00053 00054 public: 00056 static DtServiceInteraction* create(); 00057 00059 static void addCallback(DtMomInterCbMgr* callBackManager, 00060 DtEnableAsynchronousDeliveryInteractionCb cb, void* usr); 00061 static void removeCallback(DtMomInterCbMgr* callBackManager, 00062 DtEnableAsynchronousDeliveryInteractionCb cb, void* usr); 00063 00064 00065 00066 public: 00067 static const char* theInteractionName; 00068 00069 protected: 00070 00071 }; 00072 00073 #endif 00074 #endif