VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ownershipHandlerHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2016 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vlutil/vlMachineTypes.h>
15 
16 #include "rtiNamespace.h"
17 
18 class DT_DLL_VL DtHlaObject;
19 
28 {
29 public:
30 
33 
35  virtual ~DtOwnershipHandler();
36 
39 
41  DtOwnershipHandler& operator=(const DtOwnershipHandler& other);
42 
44  virtual DtOwnershipHandler* clone() const;
45 
48  virtual DtHlaObject* hlaObject();
49 
53  virtual void gainOwnership(const RTI::AttributeHandleSet& set);
54 
59  virtual void loseOwnership(const RTI::AttributeHandleSet& set);
60 
63  virtual void attributeOwnershipDivestitureNotification(
64  const RTI::AttributeHandleSet& releasedAttributes);
65 
68  virtual void attributeOwnershipAcquisitionNotification(
69  const RTI::AttributeHandleSet& securedAttributes);
70 
71 
75  virtual void requestAttributeOwnershipAssumption (
76  const RTI::AttributeHandleSet& offeredAttributes,
77 #if DtHLA_1516
78  const RTI::VariableLengthData &theTag
79 #else
80  const char* theTag
81 #endif
82  );
83 
86  virtual bool requesteOwnershipRelease (
87  const RTI::AttributeHandleSet& candidateAttributes,
88 #if DtHLA_1516
89  const RTI::VariableLengthData &theTag
90 #else
91  const char* theTag
92 #endif
93  );
94 
97  virtual void confirmAttributeOwnershipAcquisitionCancellation (
98  const RTI::AttributeHandleSet& attributes);
99 
100 protected:
101 
102  friend class DtHlaObject;
103 
104  virtual void setHlaObject(DtHlaObject* obj);
105 
106 protected:
107 
108  DtHlaObject* myHlaObj;
109 };
110 
111 #endif //DtHLA

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)