奥特QT DDS 插件库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

296 lines
12KB

  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'AQTSampleMachinePlug.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/AQTSampleMachinePlug.hpp"
  9. #include <QtCore/qmetatype.h>
  10. #include <QtCore/qplugin.h>
  11. #include <QtCore/QList>
  12. #include <QtCore/qtmochelpers.h>
  13. #include <memory>
  14. #include <QtCore/qxptype_traits.h>
  15. #if !defined(Q_MOC_OUTPUT_REVISION)
  16. #error "The header file 'AQTSampleMachinePlug.hpp' doesn't include <QObject>."
  17. #elif Q_MOC_OUTPUT_REVISION != 68
  18. #error "This file was generated using the moc from 6.8.1. It"
  19. #error "cannot be used with the include files from this version of Qt."
  20. #error "(The moc has changed too much.)"
  21. #endif
  22. #ifndef Q_CONSTINIT
  23. #define Q_CONSTINIT
  24. #endif
  25. QT_WARNING_PUSH
  26. QT_WARNING_DISABLE_DEPRECATED
  27. QT_WARNING_DISABLE_GCC("-Wuseless-cast")
  28. namespace {
  29. struct qt_meta_tag_ZN20AQTSampleMachinePlugE_t {};
  30. } // unnamed namespace
  31. #ifdef QT_MOC_HAS_STRINGDATA
  32. static constexpr auto qt_meta_stringdata_ZN20AQTSampleMachinePlugE = QtMocHelpers::stringData(
  33. "AQTSampleMachinePlug",
  34. "init",
  35. "",
  36. "uint32_t",
  37. "domainId",
  38. "domainName",
  39. "getDataPoints",
  40. "QList<DataPointInfo>",
  41. "publishData",
  42. "QList<DataItem>",
  43. "dataList"
  44. );
  45. #else // !QT_MOC_HAS_STRINGDATA
  46. #error "qtmochelpers.h not found or too old."
  47. #endif // !QT_MOC_HAS_STRINGDATA
  48. Q_CONSTINIT static const uint qt_meta_data_ZN20AQTSampleMachinePlugE[] = {
  49. // content:
  50. 12, // revision
  51. 0, // classname
  52. 0, 0, // classinfo
  53. 3, 14, // methods
  54. 0, 0, // properties
  55. 0, 0, // enums/sets
  56. 0, 0, // constructors
  57. 0, // flags
  58. 0, // signalCount
  59. // methods: name, argc, parameters, tag, flags, initial metatype offsets
  60. 1, 2, 32, 2, 0x02, 1 /* Public */,
  61. 6, 0, 37, 2, 0x02, 4 /* Public */,
  62. 8, 1, 38, 2, 0x02, 5 /* Public */,
  63. // methods: parameters
  64. QMetaType::Bool, 0x80000000 | 3, QMetaType::QString, 4, 5,
  65. 0x80000000 | 7,
  66. QMetaType::Bool, 0x80000000 | 9, 10,
  67. 0 // eod
  68. };
  69. Q_CONSTINIT const QMetaObject AQTSampleMachinePlug::staticMetaObject = { {
  70. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  71. qt_meta_stringdata_ZN20AQTSampleMachinePlugE.offsetsAndSizes,
  72. qt_meta_data_ZN20AQTSampleMachinePlugE,
  73. qt_static_metacall,
  74. nullptr,
  75. qt_incomplete_metaTypeArray<qt_meta_tag_ZN20AQTSampleMachinePlugE_t,
  76. // Q_OBJECT / Q_GADGET
  77. QtPrivate::TypeAndForceComplete<AQTSampleMachinePlug, std::true_type>,
  78. // method 'init'
  79. QtPrivate::TypeAndForceComplete<bool, std::false_type>,
  80. QtPrivate::TypeAndForceComplete<uint32_t, std::false_type>,
  81. QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
  82. // method 'getDataPoints'
  83. QtPrivate::TypeAndForceComplete<QList<DataPointInfo>, std::false_type>,
  84. // method 'publishData'
  85. QtPrivate::TypeAndForceComplete<bool, std::false_type>,
  86. QtPrivate::TypeAndForceComplete<const QList<DataItem> &, std::false_type>
  87. >,
  88. nullptr
  89. } };
  90. void AQTSampleMachinePlug::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  91. {
  92. auto *_t = static_cast<AQTSampleMachinePlug *>(_o);
  93. if (_c == QMetaObject::InvokeMetaMethod) {
  94. switch (_id) {
  95. case 0: { bool _r = _t->init((*reinterpret_cast< std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2])));
  96. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
  97. case 1: { QList<DataPointInfo> _r = _t->getDataPoints();
  98. if (_a[0]) *reinterpret_cast< QList<DataPointInfo>*>(_a[0]) = std::move(_r); } break;
  99. case 2: { bool _r = _t->publishData((*reinterpret_cast< std::add_pointer_t<QList<DataItem>>>(_a[1])));
  100. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
  101. default: ;
  102. }
  103. }
  104. }
  105. const QMetaObject *AQTSampleMachinePlug::metaObject() const
  106. {
  107. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  108. }
  109. void *AQTSampleMachinePlug::qt_metacast(const char *_clname)
  110. {
  111. if (!_clname) return nullptr;
  112. if (!strcmp(_clname, qt_meta_stringdata_ZN20AQTSampleMachinePlugE.stringdata0))
  113. return static_cast<void*>(this);
  114. if (!strcmp(_clname, "AuseftDDSPluginInterface"))
  115. return static_cast< AuseftDDSPluginInterface*>(this);
  116. if (!strcmp(_clname, "DataReaderListener"))
  117. return static_cast< DataReaderListener*>(this);
  118. if (!strcmp(_clname, "Com.Auseft.AuseftDDSPluginInterface"))
  119. return static_cast< AuseftDDSPluginInterface*>(this);
  120. return QObject::qt_metacast(_clname);
  121. }
  122. int AQTSampleMachinePlug::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  123. {
  124. _id = QObject::qt_metacall(_c, _id, _a);
  125. if (_id < 0)
  126. return _id;
  127. if (_c == QMetaObject::InvokeMetaMethod) {
  128. if (_id < 3)
  129. qt_static_metacall(this, _c, _id, _a);
  130. _id -= 3;
  131. }
  132. if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  133. if (_id < 3)
  134. *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
  135. _id -= 3;
  136. }
  137. return _id;
  138. }
  139. #ifdef QT_MOC_EXPORT_PLUGIN_V2
  140. static constexpr unsigned char qt_pluginMetaDataV2_AQTSampleMachinePlug[] = {
  141. 0xbf,
  142. // "IID"
  143. 0x02, 0x78, 0x23, 'C', 'o', 'm', '.', 'A',
  144. 'u', 's', 'e', 'f', 't', '.', 'A', 'u',
  145. 's', 'e', 'f', 't', 'D', 'D', 'S', 'P',
  146. 'l', 'u', 'g', 'i', 'n', 'I', 'n', 't',
  147. 'e', 'r', 'f', 'a', 'c', 'e',
  148. // "className"
  149. 0x03, 0x74, 'A', 'Q', 'T', 'S', 'a', 'm',
  150. 'p', 'l', 'e', 'M', 'a', 'c', 'h', 'i',
  151. 'n', 'e', 'P', 'l', 'u', 'g',
  152. // "MetaData"
  153. 0x04, 0xab, 0x69, 'A', 'r', 'g', 'u', 'm',
  154. 'e', 'n', 't', 's', 0x81, 0xa3, 0x6b, 'D',
  155. 'e', 's', 'c', 'r', 'i', 'p', 't', 'i',
  156. 'o', 'n', 0x78, 0x1a, 'P', 'a', 't', 'h',
  157. ' ', 't', 'o', ' ', 'c', 'o', 'n', 'f',
  158. 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o',
  159. 'n', ' ', 'f', 'i', 'l', 'e', 0x64, 'N',
  160. 'a', 'm', 'e', 0x6b, 'c', 'o', 'n', 'f',
  161. 'i', 'g', '-', 'f', 'i', 'l', 'e', 0x68,
  162. 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'd',
  163. 0xf4, 0x6d, 'C', 'o', 'm', 'p', 'a', 't',
  164. 'V', 'e', 'r', 's', 'i', 'o', 'n', 0x65,
  165. '1', '.', '0', '.', '0', 0x69, 'C', 'o',
  166. 'p', 'y', 'r', 'i', 'g', 'h', 't', 0x72,
  167. 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h',
  168. 't', ' ', '(', 'C', ')', ' ', '2', '0',
  169. '2', '4', 0x6c, 'D', 'e', 'p', 'e', 'n',
  170. 'd', 'e', 'n', 'c', 'i', 'e', 's', 0x82,
  171. 0xa2, 0x64, 'N', 'a', 'm', 'e', 0x64, 'C',
  172. 'o', 'r', 'e', 0x67, 'V', 'e', 'r', 's',
  173. 'i', 'o', 'n', 0x65, '6', '.', '0', '.',
  174. '0', 0xa2, 0x64, 'N', 'a', 'm', 'e', 0x65,
  175. 'Q', 'u', 'i', 'c', 'k', 0x67, 'V', 'e',
  176. 'r', 's', 'i', 'o', 'n', 0x65, '6', '.',
  177. '0', '.', '0', 0x6b, 'D', 'e', 's', 'c',
  178. 'r', 'i', 'p', 't', 'i', 'o', 'n', 0x78,
  179. 0x2c, 'S', 'a', 'm', 'p', 'l', 'e', ' ',
  180. 'M', 'a', 'c', 'h', 'i', 'n', 'e', ' ',
  181. 'C', 'o', 'n', 't', 'r', 'o', 'l', ' ',
  182. 'P', 'l', 'u', 'g', 'i', 'n', ' ', 'f',
  183. 'o', 'r', ' ', 'A', 'Q', 'T', ' ', 'S',
  184. 'y', 's', 't', 'e', 'm', 0x64, 'K', 'e',
  185. 'y', 's', 0x81, 0x74, 'A', 'Q', 'T', 'S',
  186. 'a', 'm', 'p', 'l', 'e', 'M', 'a', 'c',
  187. 'h', 'i', 'n', 'e', 'P', 'l', 'u', 'g',
  188. 0x67, 'L', 'i', 'c', 'e', 'n', 's', 'e',
  189. 0x6c, 'Y', 'o', 'u', 'r', ' ', 'L', 'i',
  190. 'c', 'e', 'n', 's', 'e', 0x64, 'N', 'a',
  191. 'm', 'e', 0x75, 'S', 'a', 'm', 'p', 'l',
  192. 'e', ' ', 'M', 'a', 'c', 'h', 'i', 'n',
  193. 'e', ' ', 'P', 'l', 'u', 'g', 'i', 'n',
  194. 0x63, 'U', 'r', 'l', 0x75, 'h', 't', 't',
  195. 'p', ':', '/', '/', 'w', 'w', 'w', '.',
  196. 'a', 'u', 's', 'e', 'f', 't', '.', 'c',
  197. 'o', 'm', 0x66, 'V', 'e', 'n', 'd', 'o',
  198. 'r', 0x66, 'a', 'u', 's', 'e', 'f', 't',
  199. 0x67, 'V', 'e', 'r', 's', 'i', 'o', 'n',
  200. 0x65, '1', '.', '0', '.', '0',
  201. 0xff,
  202. };
  203. QT_MOC_EXPORT_PLUGIN_V2(AQTSampleMachinePlug, AQTSampleMachinePlug, qt_pluginMetaDataV2_AQTSampleMachinePlug)
  204. #else
  205. QT_PLUGIN_METADATA_SECTION
  206. Q_CONSTINIT static constexpr unsigned char qt_pluginMetaData_AQTSampleMachinePlug[] = {
  207. 'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
  208. // metadata version, Qt version, architectural requirements
  209. 0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
  210. 0xbf,
  211. // "IID"
  212. 0x02, 0x78, 0x23, 'C', 'o', 'm', '.', 'A',
  213. 'u', 's', 'e', 'f', 't', '.', 'A', 'u',
  214. 's', 'e', 'f', 't', 'D', 'D', 'S', 'P',
  215. 'l', 'u', 'g', 'i', 'n', 'I', 'n', 't',
  216. 'e', 'r', 'f', 'a', 'c', 'e',
  217. // "className"
  218. 0x03, 0x74, 'A', 'Q', 'T', 'S', 'a', 'm',
  219. 'p', 'l', 'e', 'M', 'a', 'c', 'h', 'i',
  220. 'n', 'e', 'P', 'l', 'u', 'g',
  221. // "MetaData"
  222. 0x04, 0xab, 0x69, 'A', 'r', 'g', 'u', 'm',
  223. 'e', 'n', 't', 's', 0x81, 0xa3, 0x6b, 'D',
  224. 'e', 's', 'c', 'r', 'i', 'p', 't', 'i',
  225. 'o', 'n', 0x78, 0x1a, 'P', 'a', 't', 'h',
  226. ' ', 't', 'o', ' ', 'c', 'o', 'n', 'f',
  227. 'i', 'g', 'u', 'r', 'a', 't', 'i', 'o',
  228. 'n', ' ', 'f', 'i', 'l', 'e', 0x64, 'N',
  229. 'a', 'm', 'e', 0x6b, 'c', 'o', 'n', 'f',
  230. 'i', 'g', '-', 'f', 'i', 'l', 'e', 0x68,
  231. 'R', 'e', 'q', 'u', 'i', 'r', 'e', 'd',
  232. 0xf4, 0x6d, 'C', 'o', 'm', 'p', 'a', 't',
  233. 'V', 'e', 'r', 's', 'i', 'o', 'n', 0x65,
  234. '1', '.', '0', '.', '0', 0x69, 'C', 'o',
  235. 'p', 'y', 'r', 'i', 'g', 'h', 't', 0x72,
  236. 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h',
  237. 't', ' ', '(', 'C', ')', ' ', '2', '0',
  238. '2', '4', 0x6c, 'D', 'e', 'p', 'e', 'n',
  239. 'd', 'e', 'n', 'c', 'i', 'e', 's', 0x82,
  240. 0xa2, 0x64, 'N', 'a', 'm', 'e', 0x64, 'C',
  241. 'o', 'r', 'e', 0x67, 'V', 'e', 'r', 's',
  242. 'i', 'o', 'n', 0x65, '6', '.', '0', '.',
  243. '0', 0xa2, 0x64, 'N', 'a', 'm', 'e', 0x65,
  244. 'Q', 'u', 'i', 'c', 'k', 0x67, 'V', 'e',
  245. 'r', 's', 'i', 'o', 'n', 0x65, '6', '.',
  246. '0', '.', '0', 0x6b, 'D', 'e', 's', 'c',
  247. 'r', 'i', 'p', 't', 'i', 'o', 'n', 0x78,
  248. 0x2c, 'S', 'a', 'm', 'p', 'l', 'e', ' ',
  249. 'M', 'a', 'c', 'h', 'i', 'n', 'e', ' ',
  250. 'C', 'o', 'n', 't', 'r', 'o', 'l', ' ',
  251. 'P', 'l', 'u', 'g', 'i', 'n', ' ', 'f',
  252. 'o', 'r', ' ', 'A', 'Q', 'T', ' ', 'S',
  253. 'y', 's', 't', 'e', 'm', 0x64, 'K', 'e',
  254. 'y', 's', 0x81, 0x74, 'A', 'Q', 'T', 'S',
  255. 'a', 'm', 'p', 'l', 'e', 'M', 'a', 'c',
  256. 'h', 'i', 'n', 'e', 'P', 'l', 'u', 'g',
  257. 0x67, 'L', 'i', 'c', 'e', 'n', 's', 'e',
  258. 0x6c, 'Y', 'o', 'u', 'r', ' ', 'L', 'i',
  259. 'c', 'e', 'n', 's', 'e', 0x64, 'N', 'a',
  260. 'm', 'e', 0x75, 'S', 'a', 'm', 'p', 'l',
  261. 'e', ' ', 'M', 'a', 'c', 'h', 'i', 'n',
  262. 'e', ' ', 'P', 'l', 'u', 'g', 'i', 'n',
  263. 0x63, 'U', 'r', 'l', 0x75, 'h', 't', 't',
  264. 'p', ':', '/', '/', 'w', 'w', 'w', '.',
  265. 'a', 'u', 's', 'e', 'f', 't', '.', 'c',
  266. 'o', 'm', 0x66, 'V', 'e', 'n', 'd', 'o',
  267. 'r', 0x66, 'a', 'u', 's', 'e', 'f', 't',
  268. 0x67, 'V', 'e', 'r', 's', 'i', 'o', 'n',
  269. 0x65, '1', '.', '0', '.', '0',
  270. 0xff,
  271. };
  272. QT_MOC_EXPORT_PLUGIN(AQTSampleMachinePlug, AQTSampleMachinePlug)
  273. #endif // QT_MOC_EXPORT_PLUGIN_V2
  274. QT_WARNING_POP