File indexing completed on 2025-01-18 10:02:59
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
0026 const TCollection_AsciiString& Id() const { return myId; }
0027
0028
0029 uint64_t RawHandle() const { return myRawHandle; }
0030
0031
0032 void SetRawHandle (uint64_t theHande) { myRawHandle = theHande; }
0033
0034
0035 void AddAction (const Handle(Aspect_XRAction)& theAction)
0036 {
0037 myActions.Add (theAction->Id(), theAction);
0038 }
0039
0040
0041 const Aspect_XRActionMap& Actions() const { return myActions; }
0042
0043
0044 Aspect_XRActionSet (const TCollection_AsciiString& theId)
0045 : myId (theId), myRawHandle (0) {}
0046
0047 protected:
0048 TCollection_AsciiString myId;
0049 uint64_t myRawHandle;
0050 Aspect_XRActionMap myActions;
0051 };
0052
0053 typedef NCollection_IndexedDataMap<TCollection_AsciiString, Handle(Aspect_XRActionSet)> Aspect_XRActionSetMap;
0054
0055 #endif