MAK RTIspy API Documentation for HLA 1.3
saveInitConstrainedMsg.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2005 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: saveInitConstrainedMsg.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtSaveInitiateConstrainedMsg_H_
00013 #define DtSaveInitiateConstrainedMsg_H_
00014 
00015 #include "savInitMsg.h"
00016 
00017 
00018 class DtConnectionMgr;
00019 class DtSaveInitiateConstrainedMsg;
00020 typedef void (*DtSaveInitiateConstrainedCb)(const DtSaveInitiateConstrainedMsg& msg, void* usr);
00021 
00022 
00023 class DT_DLL_LRC DtSaveInitiateConstrainedMsg : public DtSaveInitiateMsg
00024 {
00025 public:
00026 
00028    DtSaveInitiateConstrainedMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00029 
00031    DtSaveInitiateConstrainedMsg(
00032       const char* theLabel,
00033       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00034 
00036    DtSaveInitiateConstrainedMsg(const DtNetSaveMsg* netRepMsg,
00037       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00038 
00040    virtual ~DtSaveInitiateConstrainedMsg();
00041 
00043    virtual DtRtiMsg* clone(bool copy = true) const; 
00044 
00045 public:
00046 
00048    static DtRtiMsg* create(const DtNetMsgHeader* initial, 
00049       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);    
00051    static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);    
00052 
00054    static void addCallback(DtConnectionMgr *conn, 
00055       DtSaveInitiateConstrainedCb cb, void *usr);
00056    static void removeCallback(DtConnectionMgr *conn, 
00057       DtSaveInitiateConstrainedCb cb, void *usr);
00058    
00059 protected:
00060    
00062    virtual DtRtiMsgKind internalDtRtiMsgKind();
00063 
00064 protected:
00065 
00066 };
00067 
00068 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)