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