MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
objectShadow.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2022 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #include <rtiMsConfig.h>
12 #include <rtiVersion.h>
13 #include <internalTypes.h>
14 #include <attrHandSet.h>
15 
16 #include <vlutil/vlMachineTypes.h>
17 #include <vlutil/vlHashKeys.h>
18 #include <vlutil/vlTime.h>
19 #include <vlutil/vlPrint.h>
20 #include <vlutil/vlUtil.h>
21 #include <vlutil/vlInetAddr.h>
22 #include <vlutil/vlString.h>
23 
24 class DtFederateShadow;
25 
27 {
28 public:
29 
31  DtObjectShadow(DtFederateShadow* parent, DtObjectInstanceHandle objectHandle, const char* objectName,
32  DtObjectClassInfo* classInfo, const DtAttributeHandleSet& ownedAttributes,
33  const DtAttributeHandleSet& lrcManagedAttributeSet);
34 
36  virtual ~DtObjectShadow();
37 
38 private:
42  DtObjectShadow& operator=(const DtObjectShadow &);
43 public:
44 
46  virtual DtObjectInstanceHandle handle() const;
47 
49  virtual const MAKRti::DtString& name() const;
50 
52  virtual DtObjectClassHandle classHandle() const;
53 
55  virtual DtObjectClassInfo* classInfo() const;
56 
58  virtual bool isEmpty() const;
59 
61  virtual bool isOwned() const;
62 
64  virtual const DtAttributeHandleSet& ownedAttrs() const;
65 
67  virtual const DtAttributeHandleSet& lrcManagedAttributes() const;
68 
70  virtual void takeOwnership(const DtAttributeHandleSet& attributes);
71 
73  virtual void removeOwnership(const DtAttributeHandleSet& attributes);
74 
76  virtual void takeLrcOwnership(const DtAttributeHandleSet& attributes);
77 
79  virtual void removeLrcOwnership(const DtAttributeHandleSet& attributes);
80 
82  virtual void removeAttributes(const DtAttributeHandleSet& attributes);
83 
84 protected:
85 
88  MAKRti::DtString myName;
92 };
93 
94 
Definition: objectShadow.h:26
DtAttributeHandleSet myLrcManagedAttributes
Definition: objectShadow.h:90
Definition: federateShadow.h:50
#define DT_DLL_FEDSHDW
Definition: rtiMsConfig.h:159
DtHandle DtObjectClassHandle
Definition: internalTypes.h:48
Defines the internal representation of attribute/parameter handle sets.
Definition: attrHandSet.h:30
DtHandle DtObjectInstanceHandle
Definition: internalTypes.h:50
DtObjectInstanceHandle myHandle
Definition: objectShadow.h:87
MAKRti::DtString myName
Definition: objectShadow.h:88
DtFederateShadow * myParent
Definition: objectShadow.h:86
The declaration of internal types.
Definition: objClassInfo.h:36
DtAttributeHandleSet myOwnedAttributes
Definition: objectShadow.h:89
DtObjectClassInfo * myClassInfo
Definition: objectShadow.h:91

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)