VR-Forces 4.0.4 Class Documentation
include/vrfutil/splitMessageKey.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999-2001 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: splitMessageKey.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00011 
00012 #ifndef DtSplitMessageKey_H_
00013 #define DtSplitMessageKey_H_
00014 
00015 #include "vrfutil/vrfutilDefines.h"
00016 
00017 #include <vlpi/simulationAddress.h>
00018 
00021 
00023 class DT_DLL_vrfutil DtSplitMessageKey
00024 {
00025 public:
00026    DtSplitMessageKey();
00027    DtSplitMessageKey(const DtSimulationAddress& senderAddr, int msgId);
00028    
00029    virtual ~DtSplitMessageKey();
00030 
00031    bool operator==(const DtSplitMessageKey& other) const;
00032    bool operator<(const DtSplitMessageKey& other) const;
00033 
00034    inline const DtSimulationAddress& senderAddr() const {return mySenderAddr;}
00035    inline void setSenderAddr(const DtSimulationAddress& addr){mySenderAddr = addr;}
00036 
00037    inline int messageId() const {return myMessageId;}
00038    inline void setMessageId(int val){myMessageId = val;}
00039 
00040 protected:
00041    DtSimulationAddress mySenderAddr;
00042    int myMessageId;
00043 };
00044 
00045 #endif
00046 
00047 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)