奥特QT DDS 插件库
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

158 行
4.9KB

  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'dds_manager.hpp'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.1)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include "../../../../plugins/AQTSampleMachinePlug/dds_manager.hpp"
  9. #include <QtCore/qmetatype.h>
  10. #include <QtCore/qtmochelpers.h>
  11. #include <memory>
  12. #include <QtCore/qxptype_traits.h>
  13. #if !defined(Q_MOC_OUTPUT_REVISION)
  14. #error "The header file 'dds_manager.hpp' doesn't include <QObject>."
  15. #elif Q_MOC_OUTPUT_REVISION != 68
  16. #error "This file was generated using the moc from 6.8.1. It"
  17. #error "cannot be used with the include files from this version of Qt."
  18. #error "(The moc has changed too much.)"
  19. #endif
  20. #ifndef Q_CONSTINIT
  21. #define Q_CONSTINIT
  22. #endif
  23. QT_WARNING_PUSH
  24. QT_WARNING_DISABLE_DEPRECATED
  25. QT_WARNING_DISABLE_GCC("-Wuseless-cast")
  26. namespace {
  27. struct qt_meta_tag_ZN10DDSManagerE_t {};
  28. } // unnamed namespace
  29. #ifdef QT_MOC_HAS_STRINGDATA
  30. static constexpr auto qt_meta_stringdata_ZN10DDSManagerE = QtMocHelpers::stringData(
  31. "DDSManager",
  32. "messagePublished",
  33. "",
  34. "message",
  35. "index",
  36. "publishOnce"
  37. );
  38. #else // !QT_MOC_HAS_STRINGDATA
  39. #error "qtmochelpers.h not found or too old."
  40. #endif // !QT_MOC_HAS_STRINGDATA
  41. Q_CONSTINIT static const uint qt_meta_data_ZN10DDSManagerE[] = {
  42. // content:
  43. 12, // revision
  44. 0, // classname
  45. 0, 0, // classinfo
  46. 2, 14, // methods
  47. 0, 0, // properties
  48. 0, 0, // enums/sets
  49. 0, 0, // constructors
  50. 0, // flags
  51. 1, // signalCount
  52. // signals: name, argc, parameters, tag, flags, initial metatype offsets
  53. 1, 2, 26, 2, 0x06, 1 /* Public */,
  54. // methods: name, argc, parameters, tag, flags, initial metatype offsets
  55. 5, 0, 31, 2, 0x02, 4 /* Public */,
  56. // signals: parameters
  57. QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 4,
  58. // methods: parameters
  59. QMetaType::Void,
  60. 0 // eod
  61. };
  62. Q_CONSTINIT const QMetaObject DDSManager::staticMetaObject = { {
  63. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  64. qt_meta_stringdata_ZN10DDSManagerE.offsetsAndSizes,
  65. qt_meta_data_ZN10DDSManagerE,
  66. qt_static_metacall,
  67. nullptr,
  68. qt_incomplete_metaTypeArray<qt_meta_tag_ZN10DDSManagerE_t,
  69. // Q_OBJECT / Q_GADGET
  70. QtPrivate::TypeAndForceComplete<DDSManager, std::true_type>,
  71. // method 'messagePublished'
  72. QtPrivate::TypeAndForceComplete<void, std::false_type>,
  73. QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
  74. QtPrivate::TypeAndForceComplete<int, std::false_type>,
  75. // method 'publishOnce'
  76. QtPrivate::TypeAndForceComplete<void, std::false_type>
  77. >,
  78. nullptr
  79. } };
  80. void DDSManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  81. {
  82. auto *_t = static_cast<DDSManager *>(_o);
  83. if (_c == QMetaObject::InvokeMetaMethod) {
  84. switch (_id) {
  85. case 0: _t->messagePublished((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
  86. case 1: _t->publishOnce(); break;
  87. default: ;
  88. }
  89. }
  90. if (_c == QMetaObject::IndexOfMethod) {
  91. int *result = reinterpret_cast<int *>(_a[0]);
  92. {
  93. using _q_method_type = void (DDSManager::*)(const QString & , int );
  94. if (_q_method_type _q_method = &DDSManager::messagePublished; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
  95. *result = 0;
  96. return;
  97. }
  98. }
  99. }
  100. }
  101. const QMetaObject *DDSManager::metaObject() const
  102. {
  103. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  104. }
  105. void *DDSManager::qt_metacast(const char *_clname)
  106. {
  107. if (!_clname) return nullptr;
  108. if (!strcmp(_clname, qt_meta_stringdata_ZN10DDSManagerE.stringdata0))
  109. return static_cast<void*>(this);
  110. return QObject::qt_metacast(_clname);
  111. }
  112. int DDSManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  113. {
  114. _id = QObject::qt_metacall(_c, _id, _a);
  115. if (_id < 0)
  116. return _id;
  117. if (_c == QMetaObject::InvokeMetaMethod) {
  118. if (_id < 2)
  119. qt_static_metacall(this, _c, _id, _a);
  120. _id -= 2;
  121. }
  122. if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  123. if (_id < 2)
  124. *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
  125. _id -= 2;
  126. }
  127. return _id;
  128. }
  129. // SIGNAL 0
  130. void DDSManager::messagePublished(const QString & _t1, int _t2)
  131. {
  132. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  133. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  134. }
  135. QT_WARNING_POP