奥特QT DDS 插件库
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

238 строки
8.7KB

  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'AQTPackageMachinePlug.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/AQTPackageMachinePlug/AQTPackageMachinePlug.hpp"
  9. #include <QtCore/qmetatype.h>
  10. #include <QtCore/qplugin.h>
  11. #include <QtCore/qtmochelpers.h>
  12. #include <memory>
  13. #include <QtCore/qxptype_traits.h>
  14. #if !defined(Q_MOC_OUTPUT_REVISION)
  15. #error "The header file 'AQTPackageMachinePlug.hpp' doesn't include <QObject>."
  16. #elif Q_MOC_OUTPUT_REVISION != 68
  17. #error "This file was generated using the moc from 6.8.1. It"
  18. #error "cannot be used with the include files from this version of Qt."
  19. #error "(The moc has changed too much.)"
  20. #endif
  21. #ifndef Q_CONSTINIT
  22. #define Q_CONSTINIT
  23. #endif
  24. QT_WARNING_PUSH
  25. QT_WARNING_DISABLE_DEPRECATED
  26. QT_WARNING_DISABLE_GCC("-Wuseless-cast")
  27. namespace {
  28. struct qt_meta_tag_ZN21AQTPackageMachinePlugE_t {};
  29. } // unnamed namespace
  30. #ifdef QT_MOC_HAS_STRINGDATA
  31. static constexpr auto qt_meta_stringdata_ZN21AQTPackageMachinePlugE = QtMocHelpers::stringData(
  32. "AQTPackageMachinePlug",
  33. "messagePublished",
  34. "",
  35. "message",
  36. "index",
  37. "init",
  38. "publishOnce",
  39. "echo",
  40. "calculate",
  41. "a",
  42. "b"
  43. );
  44. #else // !QT_MOC_HAS_STRINGDATA
  45. #error "qtmochelpers.h not found or too old."
  46. #endif // !QT_MOC_HAS_STRINGDATA
  47. Q_CONSTINIT static const uint qt_meta_data_ZN21AQTPackageMachinePlugE[] = {
  48. // content:
  49. 12, // revision
  50. 0, // classname
  51. 0, 0, // classinfo
  52. 5, 14, // methods
  53. 0, 0, // properties
  54. 0, 0, // enums/sets
  55. 0, 0, // constructors
  56. 0, // flags
  57. 1, // signalCount
  58. // signals: name, argc, parameters, tag, flags, initial metatype offsets
  59. 1, 2, 44, 2, 0x06, 1 /* Public */,
  60. // methods: name, argc, parameters, tag, flags, initial metatype offsets
  61. 5, 0, 49, 2, 0x02, 4 /* Public */,
  62. 6, 0, 50, 2, 0x02, 5 /* Public */,
  63. 7, 1, 51, 2, 0x02, 6 /* Public */,
  64. 8, 2, 54, 2, 0x02, 8 /* Public */,
  65. // signals: parameters
  66. QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 4,
  67. // methods: parameters
  68. QMetaType::Bool,
  69. QMetaType::Void,
  70. QMetaType::QString, QMetaType::QString, 3,
  71. QMetaType::Int, QMetaType::Int, QMetaType::Int, 9, 10,
  72. 0 // eod
  73. };
  74. Q_CONSTINIT const QMetaObject AQTPackageMachinePlug::staticMetaObject = { {
  75. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  76. qt_meta_stringdata_ZN21AQTPackageMachinePlugE.offsetsAndSizes,
  77. qt_meta_data_ZN21AQTPackageMachinePlugE,
  78. qt_static_metacall,
  79. nullptr,
  80. qt_incomplete_metaTypeArray<qt_meta_tag_ZN21AQTPackageMachinePlugE_t,
  81. // Q_OBJECT / Q_GADGET
  82. QtPrivate::TypeAndForceComplete<AQTPackageMachinePlug, std::true_type>,
  83. // method 'messagePublished'
  84. QtPrivate::TypeAndForceComplete<void, std::false_type>,
  85. QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
  86. QtPrivate::TypeAndForceComplete<int, std::false_type>,
  87. // method 'init'
  88. QtPrivate::TypeAndForceComplete<bool, std::false_type>,
  89. // method 'publishOnce'
  90. QtPrivate::TypeAndForceComplete<void, std::false_type>,
  91. // method 'echo'
  92. QtPrivate::TypeAndForceComplete<QString, std::false_type>,
  93. QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
  94. // method 'calculate'
  95. QtPrivate::TypeAndForceComplete<int, std::false_type>,
  96. QtPrivate::TypeAndForceComplete<int, std::false_type>,
  97. QtPrivate::TypeAndForceComplete<int, std::false_type>
  98. >,
  99. nullptr
  100. } };
  101. void AQTPackageMachinePlug::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  102. {
  103. auto *_t = static_cast<AQTPackageMachinePlug *>(_o);
  104. if (_c == QMetaObject::InvokeMetaMethod) {
  105. switch (_id) {
  106. case 0: _t->messagePublished((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
  107. case 1: { bool _r = _t->init();
  108. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
  109. case 2: _t->publishOnce(); break;
  110. case 3: { QString _r = _t->echo((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
  111. if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
  112. case 4: { int _r = _t->calculate((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])));
  113. if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
  114. default: ;
  115. }
  116. }
  117. if (_c == QMetaObject::IndexOfMethod) {
  118. int *result = reinterpret_cast<int *>(_a[0]);
  119. {
  120. using _q_method_type = void (AQTPackageMachinePlug::*)(const QString & , int );
  121. if (_q_method_type _q_method = &AQTPackageMachinePlug::messagePublished; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
  122. *result = 0;
  123. return;
  124. }
  125. }
  126. }
  127. }
  128. const QMetaObject *AQTPackageMachinePlug::metaObject() const
  129. {
  130. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  131. }
  132. void *AQTPackageMachinePlug::qt_metacast(const char *_clname)
  133. {
  134. if (!_clname) return nullptr;
  135. if (!strcmp(_clname, qt_meta_stringdata_ZN21AQTPackageMachinePlugE.stringdata0))
  136. return static_cast<void*>(this);
  137. if (!strcmp(_clname, "AuseftDDSPluginInterface"))
  138. return static_cast< AuseftDDSPluginInterface*>(this);
  139. if (!strcmp(_clname, "Com.Auseft.AuseftDDSPluginInterface"))
  140. return static_cast< AuseftDDSPluginInterface*>(this);
  141. return QObject::qt_metacast(_clname);
  142. }
  143. int AQTPackageMachinePlug::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  144. {
  145. _id = QObject::qt_metacall(_c, _id, _a);
  146. if (_id < 0)
  147. return _id;
  148. if (_c == QMetaObject::InvokeMetaMethod) {
  149. if (_id < 5)
  150. qt_static_metacall(this, _c, _id, _a);
  151. _id -= 5;
  152. }
  153. if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  154. if (_id < 5)
  155. *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
  156. _id -= 5;
  157. }
  158. return _id;
  159. }
  160. // SIGNAL 0
  161. void AQTPackageMachinePlug::messagePublished(const QString & _t1, int _t2)
  162. {
  163. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  164. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  165. }
  166. #ifdef QT_MOC_EXPORT_PLUGIN_V2
  167. static constexpr unsigned char qt_pluginMetaDataV2_AQTPackageMachinePlug[] = {
  168. 0xbf,
  169. // "IID"
  170. 0x02, 0x78, 0x23, 'C', 'o', 'm', '.', 'A',
  171. 'u', 's', 'e', 'f', 't', '.', 'A', 'u',
  172. 's', 'e', 'f', 't', 'D', 'D', 'S', 'P',
  173. 'l', 'u', 'g', 'i', 'n', 'I', 'n', 't',
  174. 'e', 'r', 'f', 'a', 'c', 'e',
  175. // "className"
  176. 0x03, 0x75, 'A', 'Q', 'T', 'P', 'a', 'c',
  177. 'k', 'a', 'g', 'e', 'M', 'a', 'c', 'h',
  178. 'i', 'n', 'e', 'P', 'l', 'u', 'g',
  179. // "MetaData"
  180. 0x04, 0xa1, 0x64, 'K', 'e', 'y', 's', 0x81,
  181. 0x75, 'A', 'Q', 'T', 'P', 'a', 'c', 'k',
  182. 'a', 'g', 'e', 'M', 'a', 'c', 'h', 'i',
  183. 'n', 'e', 'P', 'l', 'u', 'g',
  184. 0xff,
  185. };
  186. QT_MOC_EXPORT_PLUGIN_V2(AQTPackageMachinePlug, AQTPackageMachinePlug, qt_pluginMetaDataV2_AQTPackageMachinePlug)
  187. #else
  188. QT_PLUGIN_METADATA_SECTION
  189. Q_CONSTINIT static constexpr unsigned char qt_pluginMetaData_AQTPackageMachinePlug[] = {
  190. 'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
  191. // metadata version, Qt version, architectural requirements
  192. 0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
  193. 0xbf,
  194. // "IID"
  195. 0x02, 0x78, 0x23, 'C', 'o', 'm', '.', 'A',
  196. 'u', 's', 'e', 'f', 't', '.', 'A', 'u',
  197. 's', 'e', 'f', 't', 'D', 'D', 'S', 'P',
  198. 'l', 'u', 'g', 'i', 'n', 'I', 'n', 't',
  199. 'e', 'r', 'f', 'a', 'c', 'e',
  200. // "className"
  201. 0x03, 0x75, 'A', 'Q', 'T', 'P', 'a', 'c',
  202. 'k', 'a', 'g', 'e', 'M', 'a', 'c', 'h',
  203. 'i', 'n', 'e', 'P', 'l', 'u', 'g',
  204. // "MetaData"
  205. 0x04, 0xa1, 0x64, 'K', 'e', 'y', 's', 0x81,
  206. 0x75, 'A', 'Q', 'T', 'P', 'a', 'c', 'k',
  207. 'a', 'g', 'e', 'M', 'a', 'c', 'h', 'i',
  208. 'n', 'e', 'P', 'l', 'u', 'g',
  209. 0xff,
  210. };
  211. QT_MOC_EXPORT_PLUGIN(AQTPackageMachinePlug, AQTPackageMachinePlug)
  212. #endif // QT_MOC_EXPORT_PLUGIN_V2
  213. QT_WARNING_POP