VR-Link API Documentation for HLA 1.3
ownerHandler.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
10 
11 #ifndef DtOwnershipHandler_H_
12 #define DtOwnershipHandler_H_ 1
13 
14 #if DtHLA
15 
16 #include <vlutil/vlMachineTypes.h>
17 
18 #include "rtiNamespace.h"
19 
21 
30 {
31 public:
32 
35 
37  virtual ~DtOwnershipHandler();
38 
41  virtual DtHlaObject* hlaObject();
42 
46  virtual void gainOwnership(const RTI::AttributeHandleSet& set);
47 
52  virtual void loseOwnership(const RTI::AttributeHandleSet& set);
53 
56  virtual void attributeOwnershipDivestitureNotification(
57  const RTI::AttributeHandleSet& releasedAttributes);
58 
61  virtual void attributeOwnershipAcquisitionNotification(
62  const RTI::AttributeHandleSet& securedAttributes);
63 
64 
68  virtual void requestAttributeOwnershipAssumption (
69  const RTI::AttributeHandleSet& offeredAttributes,
70 #if DtHLA_1516
71  const RTI::VariableLengthData &theTag
72 #else
73  const char* theTag
74 #endif
75  );
76 
80  virtual bool requestAttributeOwnershipRelease (
81  const RTI::AttributeHandleSet& candidateAttributes,
82 #if DtHLA_1516
83  const RTI::VariableLengthData &theTag
84 #else
85  const char* theTag
86 #endif
87  );
88 
91  virtual void confirmAttributeOwnershipAcquisitionCancellation (
92  const RTI::AttributeHandleSet& attributes);
93 
94 protected:
95 
96  friend class DtHlaObject;
97 
100 
103 
104  virtual void setHlaObject(DtHlaObject* obj);
105 
106 protected:
107 
109 };
110 
111 #endif
112 #endif
113 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)