WaypointPy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef ROBOT_WAYPOINTPY_H
00005 #define ROBOT_WAYPOINTPY_H
00006
00007 #include <Base/PersistencePy.h>
00008 #include <Mod/Robot/App/Waypoint.h>
00009 #include <string>
00010
00011 namespace Robot
00012 {
00013
00014
00015
00016
00017
00020 class RobotExport WaypointPy : public Base::PersistencePy
00021 {
00022 public:
00023 static PyTypeObject Type;
00024 static PyMethodDef Methods[];
00025 static PyGetSetDef GetterSetter[];
00026 static PyParentObject Parents[];
00027 virtual PyTypeObject *GetType(void) {return &Type;};
00028 virtual PyParentObject *GetParents(void) {return Parents;}
00029
00030 public:
00031 WaypointPy(Waypoint *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~WaypointPy();
00035
00036 typedef Waypoint* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044
00045
00048
00049 static PyObject * staticCallback_getName (PyObject *self, void *closure);
00051 Py::String getName(void) const;
00053 static int staticCallback_setName (PyObject *self, PyObject *value, void *closure);
00055 void setName(Py::String arg);
00057 static PyObject * staticCallback_getType (PyObject *self, void *closure);
00059 Py::String getType(void) const;
00061 static int staticCallback_setType (PyObject *self, PyObject *value, void *closure);
00063 void setType(Py::String arg);
00065 static PyObject * staticCallback_getPos (PyObject *self, void *closure);
00067 Py::Object getPos(void) const;
00069 static int staticCallback_setPos (PyObject *self, PyObject *value, void *closure);
00071 void setPos(Py::Object arg);
00073 static PyObject * staticCallback_getCont (PyObject *self, void *closure);
00075 Py::Boolean getCont(void) const;
00077 static int staticCallback_setCont (PyObject *self, PyObject *value, void *closure);
00079 void setCont(Py::Boolean arg);
00081 static PyObject * staticCallback_getVelocity (PyObject *self, void *closure);
00083 Py::Float getVelocity(void) const;
00085 static int staticCallback_setVelocity (PyObject *self, PyObject *value, void *closure);
00087 void setVelocity(Py::Float arg);
00089 static PyObject * staticCallback_getTool (PyObject *self, void *closure);
00091 Py::Int getTool(void) const;
00093 static int staticCallback_setTool (PyObject *self, PyObject *value, void *closure);
00095 void setTool(Py::Int arg);
00097 static PyObject * staticCallback_getBase (PyObject *self, void *closure);
00099 Py::Int getBase(void) const;
00101 static int staticCallback_setBase (PyObject *self, PyObject *value, void *closure);
00103 void setBase(Py::Int arg);
00105
00107 PyObject *getCustomAttributes(const char* attr) const;
00109 int setCustomAttributes(const char* attr, PyObject *obj);
00110 PyObject *_getattr(char *attr);
00111 int _setattr(char *attr, PyObject *value);
00112
00114 Waypoint *getWaypointPtr(void) const;
00115
00118
00120 };
00121
00122 #define PARENTSRobotWaypointPy &WaypointPy::Type,PARENTSBasePersistencePy
00123
00124 }
00125
00126 #endif // ROBOT_WAYPOINTPY_H
00127
00128