00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "../include/robot.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'robot.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 62
00014 #error "This file was generated using the moc from 4.6.2. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018
00019 QT_BEGIN_MOC_NAMESPACE
00020 static const uint qt_meta_data_Robot[] = {
00021
00022
00023 4,
00024 0,
00025 0, 0,
00026 4, 14,
00027 0, 0,
00028 0, 0,
00029 0, 0,
00030 0,
00031 4,
00032
00033
00034 7, 6, 6, 6, 0x05,
00035 30, 6, 6, 6, 0x05,
00036 53, 6, 6, 6, 0x05,
00037 94, 74, 6, 6, 0x05,
00038
00039 0
00040 };
00041
00042 static const char qt_meta_stringdata_Robot[] = {
00043 "Robot\0\0configurationChanged()\0"
00044 "userInteractionStart()\0userInteractionEnd()\0"
00045 "numCols,stopRequest\0moveDOFStepTaken(int,bool&)\0"
00046 };
00047
00048 const QMetaObject Robot::staticMetaObject = {
00049 { &WorldElement::staticMetaObject, qt_meta_stringdata_Robot,
00050 qt_meta_data_Robot, 0 }
00051 };
00052
00053 #ifdef Q_NO_DATA_RELOCATION
00054 const QMetaObject &Robot::getStaticMetaObject() { return staticMetaObject; }
00055 #endif //Q_NO_DATA_RELOCATION
00056
00057 const QMetaObject *Robot::metaObject() const
00058 {
00059 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00060 }
00061
00062 void *Robot::qt_metacast(const char *_clname)
00063 {
00064 if (!_clname) return 0;
00065 if (!strcmp(_clname, qt_meta_stringdata_Robot))
00066 return static_cast<void*>(const_cast< Robot*>(this));
00067 return WorldElement::qt_metacast(_clname);
00068 }
00069
00070 int Robot::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00071 {
00072 _id = WorldElement::qt_metacall(_c, _id, _a);
00073 if (_id < 0)
00074 return _id;
00075 if (_c == QMetaObject::InvokeMetaMethod) {
00076 switch (_id) {
00077 case 0: configurationChanged(); break;
00078 case 1: userInteractionStart(); break;
00079 case 2: userInteractionEnd(); break;
00080 case 3: moveDOFStepTaken((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
00081 default: ;
00082 }
00083 _id -= 4;
00084 }
00085 return _id;
00086 }
00087
00088
00089 void Robot::configurationChanged()
00090 {
00091 QMetaObject::activate(this, &staticMetaObject, 0, 0);
00092 }
00093
00094
00095 void Robot::userInteractionStart()
00096 {
00097 QMetaObject::activate(this, &staticMetaObject, 1, 0);
00098 }
00099
00100
00101 void Robot::userInteractionEnd()
00102 {
00103 QMetaObject::activate(this, &staticMetaObject, 2, 0);
00104 }
00105
00106
00107 void Robot::moveDOFStepTaken(int _t1, bool & _t2)
00108 {
00109 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
00110 QMetaObject::activate(this, &staticMetaObject, 3, _a);
00111 }
00112 static const uint qt_meta_data_Hand[] = {
00113
00114
00115 4,
00116 0,
00117 0, 0,
00118 0, 0,
00119 0, 0,
00120 0, 0,
00121 0, 0,
00122 0,
00123 0,
00124
00125 0
00126 };
00127
00128 static const char qt_meta_stringdata_Hand[] = {
00129 "Hand\0"
00130 };
00131
00132 const QMetaObject Hand::staticMetaObject = {
00133 { &Robot::staticMetaObject, qt_meta_stringdata_Hand,
00134 qt_meta_data_Hand, 0 }
00135 };
00136
00137 #ifdef Q_NO_DATA_RELOCATION
00138 const QMetaObject &Hand::getStaticMetaObject() { return staticMetaObject; }
00139 #endif //Q_NO_DATA_RELOCATION
00140
00141 const QMetaObject *Hand::metaObject() const
00142 {
00143 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00144 }
00145
00146 void *Hand::qt_metacast(const char *_clname)
00147 {
00148 if (!_clname) return 0;
00149 if (!strcmp(_clname, qt_meta_stringdata_Hand))
00150 return static_cast<void*>(const_cast< Hand*>(this));
00151 return Robot::qt_metacast(_clname);
00152 }
00153
00154 int Hand::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00155 {
00156 _id = Robot::qt_metacall(_c, _id, _a);
00157 if (_id < 0)
00158 return _id;
00159 return _id;
00160 }
00161 QT_END_MOC_NAMESPACE