VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
transferRequestEvent.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 #include <set>
11 
14 namespace makVrfEvents
15 {
17  {
18  public:
20  virtual ~DtTransferRequestEvent();
21 
24 
25  void addStateDataToDivest(const DtUUID&);
26  const std::set<DtUUID>& stateDataToDivest() const;
27  void setStateDataToDivest(const std::set<DtUUID>& u);
28 
30  void setData(const char* data, unsigned int length);
31  const char* data() const;
32  unsigned int dataSize() const;
33 
34  void setTransactionId(unsigned long long);
35  unsigned long long transactionId() const;
36 
37  virtual DtEvent* clone() const { return new DtTransferRequestEvent(*this); };
38  virtual bool isNetworkEvent() const { return false; };
39 
40  protected:
41  std::set<DtUUID> myStateDataToDivest;
42  unsigned long long myTransactionId;
43  char* myData;
44  unsigned int myDataSize;
45  };
46 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
unsigned int myDataSize
Definition: transferRequestEvent.h:44
char * myData
Definition: transferRequestEvent.h:43
virtual DtEvent * clone() const
Definition: transferRequestEvent.h:37
Definition: transferRequestEvent.h:16
Contains the DtUUID class declaration.
unsigned long long myTransactionId
Definition: transferRequestEvent.h:42
Definition: event.h:13
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
#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

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)