MAK RTIspy API Documentation for HLA Evolved
saveAbortMsg.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2010 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: savBegMsg.h,v $ $Revision: 1.5 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtAbortSaveMsg_H_
00013 #define DtAbortSaveMsg_H_
00014 
00015 #include "saveMsg.h"
00016 
00017 class DtConnectionMgr;
00018 class DtAbortSaveMsg;
00019 typedef void (*DtAbortSaveCb)(const DtAbortSaveMsg& msg, void* usr);
00020 
00021 
00022 class DT_DLL_LRC DtAbortSaveMsg : public DtSaveMsg
00023 {
00024 public:
00025 
00027    DtAbortSaveMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00028 
00030    DtAbortSaveMsg(const DtNetSaveMsg* netRepMsg,
00031       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00032 
00034    virtual ~DtAbortSaveMsg();
00035 
00037    virtual DtRtiMsg* clone(bool copy = true) const; 
00038 
00040    virtual void printData(DtLogicalTimeFactory* logicalTimeFactory) const;
00041 
00042 public:
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       DtAbortSaveCb cb, void *usr);
00053    static void removeCallback(DtConnectionMgr *conn, 
00054       DtAbortSaveCb cb, void *usr);
00055    
00056 protected:
00057    
00059    virtual DtRtiMsgKind internalDtRtiMsgKind();
00060 
00061 protected:
00062 
00063 };
00064 
00065 #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)