MAK RTIspy API Documentation for HLA 1.3
savTimeAdvMsg.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1998 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: savTimeAdvMsg.h,v $ $Revision: 1.5 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtSaveTimeAdvanceMsg_H_
00013 #define DtSaveTimeAdvanceMsg_H_
00014 
00015 #include "nullMsg.h"
00016 
00017 class DtConnectionMgr;
00018 class DtSaveTimeAdvanceMsg;
00019 typedef void (*DtSaveTimeAdvanceCb)(const DtSaveTimeAdvanceMsg& inter, void* usr);
00020 
00021 class DT_DLL_LRC DtSaveTimeAdvanceMsg : public DtNullMsg
00022 {
00023 public:
00024 
00026    DtSaveTimeAdvanceMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00027 
00029    DtSaveTimeAdvanceMsg(const DtNetNullMsg* netRep,
00030       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00031 
00033    virtual ~DtSaveTimeAdvanceMsg();
00034 
00036    virtual DtRtiMsg* clone(bool copy = true) const; 
00037 
00038 public:
00039 
00041    static DtRtiMsg* create(const DtNetMsgHeader* initial,
00042       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00043 
00044    static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00045 
00047    static void addCallback(DtConnectionMgr* conn,
00048       DtSaveTimeAdvanceCb cb, void* usr);
00049    static void removeCallback(DtConnectionMgr* conn,
00050       DtSaveTimeAdvanceCb cb, void* usr);
00051 
00052 protected:
00053 
00055    virtual DtRtiMsgKind internalDtRtiMsgKind();
00056 
00057 protected:
00058 
00059 };
00060 
00061 #endif
00062 

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)