VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rprOwnershipHandler.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 1992-2025 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
15 #include <vlpi/simulationAddress.h>
16 
23 {
24 public:
25 
30  DtRprOwnershipHandler(int site, int app);
31 
33  virtual ~DtRprOwnershipHandler();
34 
36  virtual DtOwnershipHandler* clone() const;
37 
40 
43 
45  inline void setSite(int site);
46 
48  inline int site() const ;
49 
51  inline void setApplicationId(int app);
52 
54  inline int applicationId() const;
55 
58  virtual bool requesteOwnershipRelease (
59  const RTI::AttributeHandleSet& candidateAttributes,
60 #if DtHLA_1516
61  const RTI::VariableLengthData &theTag
62 #else
63  const char* theTag
64 #endif
65  );
66 
67 
69  const RTI::AttributeHandleSet& offeredAttributes,
70 #if DtHLA_1516
71  const RTI::VariableLengthData &theTag
72 #else
73  const char* theTag
74 #endif
75  );
76 
77 
79  virtual void sendRPRAcknowledge(bool returnVal, DtU32 responseIdentifier);
80 
81 
82 protected:
83 
85 };
86 
87 #endif //DtHLA
A DtSimulationAddress is used in DIS to identify a particular simulator.
Definition: simulationAddress.h:29
virtual DtOwnershipHandler * clone() const
Clone copy.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtDefaultOwnershipHandler & operator=(const DtDefaultOwnershipHandler &other)
Assignment operator.
declares DtSimulationAddress.
This file declares DtDefaultOwnershipHandler.
virtual void requestAttributeOwnershipAssumption(const RTI::AttributeHandleSet &offeredAttributes, const char *theTag)
Called as a result of the requestAttributeOwnershipAssumption RTI service.
This class adds the RPR Ownership interactions to the default ownership handler.
Definition: rprOwnershipHandler.h:22
virtual bool requesteOwnershipRelease(const RTI::AttributeHandleSet &candidateAttributes, const char *theTag)
Called as a result of the requestAttributeOwnershipRelease RTI service.
This is a base class meant to encapsulate user callbacks on ownership management services.
Definition: ownershipHandlerHLA.h:27
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
This class meant to encapsulate user callbacks on ownership management services.
Definition: defaultOwnershipHandlerHLA.h:57
DtSimulationAddress mySimulator
Definition: rprOwnershipHandler.h:84

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)