TrajectoryPy.h

Go to the documentation of this file.
00001 
00002 // This file is generated by src/Tools/generateTemaplates/templateClassPyExport.py out of the XML file
00003 // Every change you make here get lost at the next full rebuild!
00004 #ifndef ROBOT_TRAJECTORYPY_H
00005 #define ROBOT_TRAJECTORYPY_H
00006 
00007 #include <Base/PersistencePy.h>
00008 #include <Mod/Robot/App/Trajectory.h>
00009 #include <string>
00010 
00011 namespace Robot
00012 {
00013 
00014 //===========================================================================
00015 // TrajectoryPy - Python wrapper
00016 //===========================================================================
00017 
00020 class RobotExport TrajectoryPy : 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     TrajectoryPy(Trajectory *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~TrajectoryPy();
00035 
00036     typedef Trajectory* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_insertWaypoints (PyObject *self, PyObject *args);
00046     PyObject*  insertWaypoints(PyObject *args);
00048     static PyObject * staticCallback_position (PyObject *self, PyObject *args);
00050     PyObject*  position(PyObject *args);
00052     static PyObject * staticCallback_velocity (PyObject *self, PyObject *args);
00054     PyObject*  velocity(PyObject *args);
00056     static PyObject * staticCallback_deleteLast (PyObject *self, PyObject *args);
00058     PyObject*  deleteLast(PyObject *args);
00060 
00061 
00064 
00065     static PyObject * staticCallback_getDuration (PyObject *self, void *closure);
00067     Py::Float getDuration(void) const;
00069     static int staticCallback_setDuration (PyObject *self, PyObject *value, void *closure);
00070     // no setter method,  Duration is read only!
00072     static PyObject * staticCallback_getLength (PyObject *self, void *closure);
00074     Py::Float getLength(void) const;
00076     static int staticCallback_setLength (PyObject *self, PyObject *value, void *closure);
00077     // no setter method,  Length is read only!
00079     static PyObject * staticCallback_getWaypoints (PyObject *self, void *closure);
00081     Py::List getWaypoints(void) const;
00083     static int staticCallback_setWaypoints (PyObject *self, PyObject *value, void *closure);
00085     void setWaypoints(Py::List arg);
00087 
00089     PyObject *getCustomAttributes(const char* attr) const;
00091     int setCustomAttributes(const char* attr, PyObject *obj);
00092     PyObject *_getattr(char *attr);              // __getattr__ function
00093     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00094 
00096     Trajectory *getTrajectoryPtr(void) const;
00097 
00100 
00101                   bool touched;
00102           
00104 };
00105 
00106 #define PARENTSRobotTrajectoryPy &TrajectoryPy::Type,PARENTSBasePersistencePy
00107 
00108 }  //namespace Robot
00109 
00110 #endif  // ROBOT_TRAJECTORYPY_H
00111 
00112 

Generated on Wed Nov 23 19:00:50 2011 for FreeCAD by  doxygen 1.6.1