VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
transferResponseEvent.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
9 #include <vrfutil/rwUUID.h>
10 
12 namespace makVrfEvents
13 {
15  {
16  public:
18  virtual ~DtTransferResponseEvent();
19 
22 
23  void setAccept(bool);
24  bool accept() const;
25 
26  void setTransactionId(unsigned long long);
27  unsigned long long transactionId() const;
28 
29  virtual DtEvent* clone() const { return new DtTransferResponseEvent(*this); };
30  virtual bool isNetworkEvent() const { return false; };
31 
32  virtual void addData(const DtUUID&, const DtString&);
33  const std::map<DtUUID, DtString>& data() const
34  {
35  return myData;
36  }
37 
38  void setData(const std::map<DtUUID, DtString>& d)
39  {
40  myData = d;
41  }
42 
43  protected:
44  unsigned long long myTransactionId;
45  bool myAccept;
46  std::map<DtUUID, DtString> myData;
47  };
48 }
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
void setData(const std::map< DtUUID, DtString > &d)
Definition: transferResponseEvent.h:38
virtual bool isNetworkEvent() const
Definition: transferResponseEvent.h:30
const std::map< DtUUID, DtString > & data() const
Definition: transferResponseEvent.h:33
Contains the DtUUID class declaration.
bool myAccept
Definition: transferResponseEvent.h:45
Definition: event.h:13
virtual DtEvent * clone() const
Definition: transferResponseEvent.h:29
unsigned long long myTransactionId
Definition: transferResponseEvent.h:44
std::map< DtUUID, DtString > myData
Definition: transferResponseEvent.h:46
#define DT_DLL_vrfMsgTransport
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfCommunicationManagerDefines.h:26
Definition: transferResponseEvent.h:14

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)