MAK RTIspy API Documentation for HLA 1516
syncConMsg.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1998 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: syncConMsg.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtSyncConstrainedMsg_H_
00013 #define DtSyncConstrainedMsg_H_
00014 
00015 #ifdef DtTIME
00016 
00017 #include "rtiMsg.h"
00018 #include "netRtiMsgHdr.h"
00019 
00020 class DtConnectionMgr;
00021 class DtSyncConstrainedMsg;
00022 typedef void (*DtSyncConstrainedCb)(const DtSyncConstrainedMsg& msg, void* usr);
00023 
00024 class DT_DLL_LRC DtSyncConstrainedMsg : public DtRtiMsg
00025 {
00026 public:
00027 
00029    DtSyncConstrainedMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00030 
00032    DtSyncConstrainedMsg(const DtNetMsgHeader* netRepMsg,
00033       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00034 
00036    virtual ~DtSyncConstrainedMsg();
00037 
00039    virtual DtRtiMsg* clone(bool copy = true) const; 
00040 
00041 public:
00042 
00044    static DtRtiMsg* create(const DtNetMsgHeader* initial,
00045       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00046 
00048    static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00049 
00051    static void addCallback(DtConnectionMgr *conn,
00052       DtSyncConstrainedCb cb, void *usr);
00053    static void removeCallback(DtConnectionMgr *conn,
00054       DtSyncConstrainedCb cb, void *usr);
00055 
00056 protected:
00057    
00059    DtRtiMsgKind internalDtRtiMsgKind();
00060 
00062    virtual int minSize() const;
00063 
00064 };
00065 
00066 #endif
00067 #endif
00068 

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)