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 MAK Technologies, Inc
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
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This is a base class meant to encapsulate user callbacks on ownership management services.
Definition: ownershipHandlerDIS.h:39
This file contains typedefs for machine dependant types.

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)