File indexing completed on 2026-09-12 09:16:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _Aspect_XRActionSet_HeaderFile
0015 #define _Aspect_XRActionSet_HeaderFile
0016
0017 #include <Aspect_XRAction.hxx>
0018
0019
0020 class Aspect_XRActionSet : public Standard_Transient
0021 {
0022 DEFINE_STANDARD_RTTIEXT(Aspect_XRActionSet, Standard_Transient)
0023 public:
0024
0025 const TCollection_AsciiString& Id() const { return myId; }
0026
0027
0028 uint64_t RawHandle() const { return myRawHandle; }
0029
0030
0031 void SetRawHandle(uint64_t theHande) { myRawHandle = theHande; }
0032
0033
0034 void AddAction(const occ::handle<Aspect_XRAction>& theAction)
0035 {
0036 myActions.Add(theAction->Id(), theAction);
0037 }
0038
0039
0040 const NCollection_IndexedDataMap<TCollection_AsciiString, occ::handle<Aspect_XRAction>>& Actions()
0041 const
0042 {
0043 return myActions;
0044 }
0045
0046
0047 Aspect_XRActionSet(const TCollection_AsciiString& theId)
0048 : myId(theId),
0049 myRawHandle(0)
0050 {
0051 }
0052
0053 protected:
0054 TCollection_AsciiString myId;
0055 uint64_t myRawHandle;
0056 NCollection_IndexedDataMap<TCollection_AsciiString, occ::handle<Aspect_XRAction>>
0057 myActions;
0058 };
0059
0060 #endif