HObjectEntry.h 606 B

123456789101112131415161718192021222324252627
  1. #ifndef HOBJECTENTRY_H
  2. #define HOBJECTENTRY_H
  3. #include <QString>
  4. #include "HalconCpp.h"
  5. #include "HWndMessage.h"
  6. #include <QVariantHash>
  7. #include<QHash>
  8. #include "showunit_global.h"
  9. class SHOWUNITSHARED_EXPORT HObjectEntry
  10. {
  11. public:
  12. HObjectEntry(const HObject &obj, const QHash<QString, HTuple> &gc);
  13. HObjectEntry(const HWndMessage &message);
  14. ~HObjectEntry();
  15. QHash<QString, HTuple> getGC(void) { return gc; }
  16. HObject getHobj() const;
  17. HWndMessage getMessage() const;
  18. private:
  19. QHash<QString, HTuple> gc;
  20. HObject hobj;
  21. HWndMessage message;
  22. };
  23. #endif // HOBJECTENTRY_H