VR-Forces 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  DtString data(const DtUUID& uuid) const;
34  const std::map<DtUUID, DtString>& data() const
35  {
36  return myData;
37  }
38 
39  void setData(const std::map<DtUUID, DtString>& d)
40  {
41  myData = d;
42  }
43 
44  protected:
45  unsigned long long myTransactionId;
46  bool myAccept;
47  std::map<DtUUID, DtString> myData;
48  };
49 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
void setData(const std::map< DtUUID, DtString > &d)
Definition: transferResponseEvent.h:39
virtual bool isNetworkEvent() const
Definition: transferResponseEvent.h:30
const std::map< DtUUID, DtString > & data() const
Definition: transferResponseEvent.h:34
Contains the DtUUID class declaration.
bool myAccept
Definition: transferResponseEvent.h:46
Definition: event.h:13
virtual DtEvent * clone() const
Definition: transferResponseEvent.h:29
unsigned long long myTransactionId
Definition: transferResponseEvent.h:45
std::map< DtUUID, DtString > myData
Definition: transferResponseEvent.h:47
#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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)