moc_subsysreport.cpp 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'subsysreport.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.7)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include "../ytServiceCore/subsysreport.h"
  9. #include <QtCore/qbytearray.h>
  10. #include <QtCore/qmetatype.h>
  11. #if !defined(Q_MOC_OUTPUT_REVISION)
  12. #error "The header file 'subsysreport.h' doesn't include <QObject>."
  13. #elif Q_MOC_OUTPUT_REVISION != 67
  14. #error "This file was generated using the moc from 5.9.7. It"
  15. #error "cannot be used with the include files from this version of Qt."
  16. #error "(The moc has changed too much.)"
  17. #endif
  18. QT_BEGIN_MOC_NAMESPACE
  19. QT_WARNING_PUSH
  20. QT_WARNING_DISABLE_DEPRECATED
  21. struct qt_meta_stringdata_SubSysReport_t {
  22. QByteArrayData data[27];
  23. char stringdata0[273];
  24. };
  25. #define QT_MOC_LITERAL(idx, ofs, len) \
  26. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  27. qptrdiff(offsetof(qt_meta_stringdata_SubSysReport_t, stringdata0) + ofs \
  28. - idx * sizeof(QByteArrayData)) \
  29. )
  30. static const qt_meta_stringdata_SubSysReport_t qt_meta_stringdata_SubSysReport = {
  31. {
  32. QT_MOC_LITERAL(0, 0, 12), // "SubSysReport"
  33. QT_MOC_LITERAL(1, 13, 9), // "subReport"
  34. QT_MOC_LITERAL(2, 23, 0), // ""
  35. QT_MOC_LITERAL(3, 24, 7), // "subType"
  36. QT_MOC_LITERAL(4, 32, 8), // "DeviceID"
  37. QT_MOC_LITERAL(5, 41, 8), // "insertId"
  38. QT_MOC_LITERAL(6, 50, 4), // "flag"
  39. QT_MOC_LITERAL(7, 55, 10), // "subReport1"
  40. QT_MOC_LITERAL(8, 66, 11), // "CompanyCode"
  41. QT_MOC_LITERAL(9, 78, 8), // "evt_name"
  42. QT_MOC_LITERAL(10, 87, 3), // "evt"
  43. QT_MOC_LITERAL(11, 91, 10), // "alarm_time"
  44. QT_MOC_LITERAL(12, 102, 10), // "subReport2"
  45. QT_MOC_LITERAL(13, 113, 13), // "artificial_id"
  46. QT_MOC_LITERAL(14, 127, 11), // "area_status"
  47. QT_MOC_LITERAL(15, 139, 6), // "reason"
  48. QT_MOC_LITERAL(16, 146, 7), // "handler"
  49. QT_MOC_LITERAL(17, 154, 6), // "mobile"
  50. QT_MOC_LITERAL(18, 161, 9), // "appendLog"
  51. QT_MOC_LITERAL(19, 171, 3), // "log"
  52. QT_MOC_LITERAL(20, 175, 18), // "incomingConnection"
  53. QT_MOC_LITERAL(21, 194, 7), // "qintptr"
  54. QT_MOC_LITERAL(22, 202, 16), // "socketDescriptor"
  55. QT_MOC_LITERAL(23, 219, 12), // "getSubReport"
  56. QT_MOC_LITERAL(24, 232, 13), // "getSubReport1"
  57. QT_MOC_LITERAL(25, 246, 13), // "getSubReport2"
  58. QT_MOC_LITERAL(26, 260, 12) // "getappendLog"
  59. },
  60. "SubSysReport\0subReport\0\0subType\0"
  61. "DeviceID\0insertId\0flag\0subReport1\0"
  62. "CompanyCode\0evt_name\0evt\0alarm_time\0"
  63. "subReport2\0artificial_id\0area_status\0"
  64. "reason\0handler\0mobile\0appendLog\0log\0"
  65. "incomingConnection\0qintptr\0socketDescriptor\0"
  66. "getSubReport\0getSubReport1\0getSubReport2\0"
  67. "getappendLog"
  68. };
  69. #undef QT_MOC_LITERAL
  70. static const uint qt_meta_data_SubSysReport[] = {
  71. // content:
  72. 7, // revision
  73. 0, // classname
  74. 0, 0, // classinfo
  75. 9, 14, // methods
  76. 0, 0, // properties
  77. 0, 0, // enums/sets
  78. 0, 0, // constructors
  79. 0, // flags
  80. 4, // signalCount
  81. // signals: name, argc, parameters, tag, flags
  82. 1, 4, 59, 2, 0x06 /* Public */,
  83. 7, 8, 68, 2, 0x06 /* Public */,
  84. 12, 6, 85, 2, 0x06 /* Public */,
  85. 18, 1, 98, 2, 0x06 /* Public */,
  86. // slots: name, argc, parameters, tag, flags
  87. 20, 1, 101, 2, 0x0a /* Public */,
  88. 23, 4, 104, 2, 0x0a /* Public */,
  89. 24, 8, 113, 2, 0x0a /* Public */,
  90. 25, 6, 130, 2, 0x0a /* Public */,
  91. 26, 1, 143, 2, 0x0a /* Public */,
  92. // signals: parameters
  93. QMetaType::Void, QMetaType::UShort, QMetaType::QString, QMetaType::ULongLong, QMetaType::Bool, 3, 4, 5, 6,
  94. QMetaType::Void, QMetaType::UShort, QMetaType::QString, QMetaType::ULongLong, QMetaType::Int, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 3, 4, 5, 6, 8, 9, 10, 11,
  95. QMetaType::Void, QMetaType::UShort, QMetaType::QString, QMetaType::UShort, QMetaType::QString, QMetaType::QString, QMetaType::QString, 3, 13, 14, 15, 16, 17,
  96. QMetaType::Void, QMetaType::QString, 19,
  97. // slots: parameters
  98. QMetaType::Void, 0x80000000 | 21, 22,
  99. QMetaType::Void, QMetaType::UShort, QMetaType::QString, QMetaType::ULongLong, QMetaType::Bool, 3, 4, 5, 6,
  100. QMetaType::Void, QMetaType::UShort, QMetaType::QString, QMetaType::ULongLong, QMetaType::Int, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 3, 4, 5, 6, 8, 9, 10, 11,
  101. QMetaType::Void, QMetaType::UShort, QMetaType::QString, QMetaType::UShort, QMetaType::QString, QMetaType::QString, QMetaType::QString, 3, 13, 14, 15, 16, 17,
  102. QMetaType::Void, QMetaType::QString, 19,
  103. 0 // eod
  104. };
  105. void SubSysReport::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  106. {
  107. if (_c == QMetaObject::InvokeMetaMethod) {
  108. SubSysReport *_t = static_cast<SubSysReport *>(_o);
  109. Q_UNUSED(_t)
  110. switch (_id) {
  111. case 0: _t->subReport((*reinterpret_cast< quint16(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
  112. case 1: _t->subReport1((*reinterpret_cast< quint16(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< QString(*)>(_a[5])),(*reinterpret_cast< QString(*)>(_a[6])),(*reinterpret_cast< QString(*)>(_a[7])),(*reinterpret_cast< QString(*)>(_a[8]))); break;
  113. case 2: _t->subReport2((*reinterpret_cast< quint16(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< quint16(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4])),(*reinterpret_cast< QString(*)>(_a[5])),(*reinterpret_cast< QString(*)>(_a[6]))); break;
  114. case 3: _t->appendLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
  115. case 4: _t->incomingConnection((*reinterpret_cast< qintptr(*)>(_a[1]))); break;
  116. case 5: _t->getSubReport((*reinterpret_cast< quint16(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
  117. case 6: _t->getSubReport1((*reinterpret_cast< quint16(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< QString(*)>(_a[5])),(*reinterpret_cast< QString(*)>(_a[6])),(*reinterpret_cast< QString(*)>(_a[7])),(*reinterpret_cast< QString(*)>(_a[8]))); break;
  118. case 7: _t->getSubReport2((*reinterpret_cast< quint16(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< quint16(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4])),(*reinterpret_cast< QString(*)>(_a[5])),(*reinterpret_cast< QString(*)>(_a[6]))); break;
  119. case 8: _t->getappendLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
  120. default: ;
  121. }
  122. } else if (_c == QMetaObject::IndexOfMethod) {
  123. int *result = reinterpret_cast<int *>(_a[0]);
  124. {
  125. typedef void (SubSysReport::*_t)(quint16 , QString , quint64 , bool );
  126. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubSysReport::subReport)) {
  127. *result = 0;
  128. return;
  129. }
  130. }
  131. {
  132. typedef void (SubSysReport::*_t)(quint16 , QString , quint64 , int , QString , QString , QString , QString );
  133. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubSysReport::subReport1)) {
  134. *result = 1;
  135. return;
  136. }
  137. }
  138. {
  139. typedef void (SubSysReport::*_t)(quint16 , QString , quint16 , QString , QString , QString );
  140. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubSysReport::subReport2)) {
  141. *result = 2;
  142. return;
  143. }
  144. }
  145. {
  146. typedef void (SubSysReport::*_t)(QString );
  147. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SubSysReport::appendLog)) {
  148. *result = 3;
  149. return;
  150. }
  151. }
  152. }
  153. }
  154. const QMetaObject SubSysReport::staticMetaObject = {
  155. { &QTcpServer::staticMetaObject, qt_meta_stringdata_SubSysReport.data,
  156. qt_meta_data_SubSysReport, qt_static_metacall, nullptr, nullptr}
  157. };
  158. const QMetaObject *SubSysReport::metaObject() const
  159. {
  160. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  161. }
  162. void *SubSysReport::qt_metacast(const char *_clname)
  163. {
  164. if (!_clname) return nullptr;
  165. if (!strcmp(_clname, qt_meta_stringdata_SubSysReport.stringdata0))
  166. return static_cast<void*>(this);
  167. return QTcpServer::qt_metacast(_clname);
  168. }
  169. int SubSysReport::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  170. {
  171. _id = QTcpServer::qt_metacall(_c, _id, _a);
  172. if (_id < 0)
  173. return _id;
  174. if (_c == QMetaObject::InvokeMetaMethod) {
  175. if (_id < 9)
  176. qt_static_metacall(this, _c, _id, _a);
  177. _id -= 9;
  178. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  179. if (_id < 9)
  180. *reinterpret_cast<int*>(_a[0]) = -1;
  181. _id -= 9;
  182. }
  183. return _id;
  184. }
  185. // SIGNAL 0
  186. void SubSysReport::subReport(quint16 _t1, QString _t2, quint64 _t3, bool _t4)
  187. {
  188. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
  189. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  190. }
  191. // SIGNAL 1
  192. void SubSysReport::subReport1(quint16 _t1, QString _t2, quint64 _t3, int _t4, QString _t5, QString _t6, QString _t7, QString _t8)
  193. {
  194. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)), const_cast<void*>(reinterpret_cast<const void*>(&_t7)), const_cast<void*>(reinterpret_cast<const void*>(&_t8)) };
  195. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  196. }
  197. // SIGNAL 2
  198. void SubSysReport::subReport2(quint16 _t1, QString _t2, quint16 _t3, QString _t4, QString _t5, QString _t6)
  199. {
  200. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)) };
  201. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  202. }
  203. // SIGNAL 3
  204. void SubSysReport::appendLog(QString _t1)
  205. {
  206. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  207. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  208. }
  209. QT_WARNING_POP
  210. QT_END_MOC_NAMESPACE