MAK RTIspy API Documentation for HLA 1.3
ridTestRequestMsg.h
Go to the documentation of this file.
00001 /**************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ***************************************************************************/
00005 /**************************************************************************
00006 ** $RCSfile: ridTestRequestMsg.h,v $ $Revision: 1.6 $ $State: Exp $
00007 ***************************************************************************/
00008 
00011 
00012 #ifndef DtRidTestRequestMsg_H_
00013 #define DtRidTestRequestMsg_H_
00014 
00015 #include "rtiMsg.h"
00016 #include "netTransferRidParamsMsg.h"
00017 #include <vlutil/vlString.h>
00018 #include "netRidTestReqMsg.h"
00019 
00020 class DtConnectionMgr;
00021 class DtRidTestRequestMsg;
00022 
00023 typedef void (*DtRidTestReqCb)(const DtRidTestRequestMsg& inter, void* usr);
00024 
00029 class DT_DLL_LRC DtRidTestRequestMsg : public DtRtiMsg
00030 {
00031 public:
00032 
00034    DtRidTestRequestMsg( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00035 
00037    DtRidTestRequestMsg( const DtNetRidTestReqMsg* netRepMsg,
00038       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00039 
00041    virtual ~DtRidTestRequestMsg();
00042 
00043 
00045    DtRtiMsg* clone(bool copy = true) const;
00046 
00047    virtual int minSize() const;
00048 
00050    void setDestinationID( const unsigned long ID );
00051    const unsigned long destinationID() const;
00052 
00054    virtual void printData(DtLogicalTimeFactory* logicalTimeFactory) const;
00055 
00056 public:
00058    static DtRtiMsg* create( const DtNetMsgHeader* initial,
00059       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00060 
00062    static DtRtiMsg* create( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00063 
00065    static void addCallback(DtConnectionMgr* conn,
00066       DtRidTestReqCb cb, void* usr);
00067    static void removeCallback(DtConnectionMgr* conn,
00068       DtRidTestReqCb cb, void* usr);
00069 
00070 protected:
00071 
00073    virtual DtRtiMsgKind internalDtRtiMsgKind();
00074    virtual const DtNetRidTestReqMsg* netRidTestReqMsg() const;
00075    virtual DtNetRidTestReqMsg* netRidTestReqMsg();
00076 
00077 };
00078 
00079 
00080 #endif //! DtRidTestRequestMsg_H_
00081 

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)