The python export class for Waypoint. More...

#include <WaypointPy.h>

Public Types

typedef WaypointPointerType
 
- Public Types inherited from Base::PersistencePy
typedef PersistencePointerType
 
- Public Types inherited from Base::BaseClassPy
typedef BaseClassPointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 }
 

Public Member Functions

virtual PyTypeObject * GetType (void)
 
virtual int PyInit (PyObject *args, PyObject *k)
 PyInit method Override this method to initialize a newly created instance of the class (Constructor) More...
 
std::string representation (void) const
 
 WaypointPy (Waypoint *pcObject, PyTypeObject *T=&Type)
 
- Public Member Functions inherited from Base::PersistencePy
 PersistencePy (Persistence *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectdumpContent (PyObject *args, PyObject *kwd)
 implementer for the dumpContent() method More...
 
PyObjectrestoreContent (PyObject *args)
 implementer for the restoreContent() method More...
 
Py::String getContent (void) const
 getter for the Content attribute More...
 
Py::Int getMemSize (void) const
 getter for the MemSize attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
PersistencegetPersistencePtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::BaseClassPy
 BaseClassPy (BaseClass *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectisDerivedFrom (PyObject *args)
 implementer for the isDerivedFrom() method More...
 
PyObjectgetAllDerivedFrom (PyObject *args)
 implementer for the getAllDerivedFrom() method More...
 
Py::String getTypeId (void) const
 getter for the TypeId attribute More...
 
Py::String getModule (void) const
 getter for the Module attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
BaseClassgetBaseClassPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBaseDecRef (void)
 decref method wrapper (see python extending manual)
More...
 
PyObjectBaseIncRef (void)
 incref method wrapper (see python extending manual) More...
 
bool isConst ()
 
bool isNotTracking () const
 
bool isValid ()
 
 PyObjectBase (void *, PyTypeObject *T)
 Constructor Sets the Type of the object (for inheritance) and decrease the the reference count of the PyObject. More...
 
void setConst ()
 
void setInvalid ()
 
void setNotTracking (bool on=true)
 
void setShouldNotify (bool on)
 
bool shouldNotify () const
 
void startNotify ()
 

Static Public Member Functions

static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from Base::PersistencePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_dumpContent (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the dumpContent() method More...
 
static PyObjectstaticCallback_restoreContent (PyObject *self, PyObject *args)
 callback for the restoreContent() method More...
 
static PyObjectstaticCallback_getContent (PyObject *self, void *closure)
 getter callback for the Content attribute More...
 
static int staticCallback_setContent (PyObject *self, PyObject *value, void *closure)
 setter callback for the Content attribute More...
 
static PyObjectstaticCallback_getMemSize (PyObject *self, void *closure)
 getter callback for the MemSize attribute More...
 
static int staticCallback_setMemSize (PyObject *self, PyObject *value, void *closure)
 setter callback for the MemSize attribute More...
 
- Static Public Member Functions inherited from Base::BaseClassPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_isDerivedFrom (PyObject *self, PyObject *args)
 callback for the isDerivedFrom() method More...
 
static PyObjectstaticCallback_getAllDerivedFrom (PyObject *self, PyObject *args)
 callback for the getAllDerivedFrom() method More...
 
static PyObjectstaticCallback_getTypeId (PyObject *self, void *closure)
 getter callback for the TypeId attribute More...
 
static int staticCallback_setTypeId (PyObject *self, PyObject *value, void *closure)
 setter callback for the TypeId attribute More...
 
static PyObjectstaticCallback_getModule (PyObject *self, void *closure)
 getter callback for the Module attribute More...
 
static int staticCallback_setModule (PyObject *self, PyObject *value, void *closure)
 setter callback for the Module attribute More...
 
- Static Public Member Functions inherited from Base::PyObjectBase
static void PyDestructor (PyObject *P)
 Wrapper for the Python destructor. More...
 

Static Public Attributes

static PyGetSetDef GetterSetter []
 Attribute structure of WaypointPy. More...
 
static PyMethodDef Methods []
 Methods structure of WaypointPy. More...
 
static PyTypeObject Type
 Type structure of WaypointPy. More...
 
- Static Public Attributes inherited from Base::PersistencePy
static PyGetSetDef GetterSetter []
 Attribute structure of PersistencePy. More...
 
static PyMethodDef Methods []
 Methods structure of PersistencePy. More...
 
static PyTypeObject Type
 Type structure of PersistencePy. More...
 
- Static Public Attributes inherited from Base::BaseClassPy
static PyGetSetDef GetterSetter []
 Attribute structure of BaseClassPy. More...
 
static PyMethodDef Methods []
 Methods structure of BaseClassPy. More...
 
static PyTypeObject Type
 Type structure of BaseClassPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~WaypointPy ()
 
- Protected Member Functions inherited from Base::PersistencePy
 ~PersistencePy ()
 
- Protected Member Functions inherited from Base::BaseClassPy
 ~BaseClassPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object attributes

Py::String getName (void) const
 getter for the Name attribute More...
 
void setName (Py::String arg)
 setter for the Name attribute More...
 
Py::String getType (void) const
 getter for the Type attribute More...
 
void setType (Py::String arg)
 setter for the Type attribute More...
 
Py::Object getPos (void) const
 getter for the Pos attribute More...
 
void setPos (Py::Object arg)
 setter for the Pos attribute More...
 
Py::Boolean getCont (void) const
 getter for the Cont attribute More...
 
void setCont (Py::Boolean arg)
 setter for the Cont attribute More...
 
Py::Float getVelocity (void) const
 getter for the Velocity attribute More...
 
void setVelocity (Py::Float arg)
 setter for the Velocity attribute More...
 
Py::Long getTool (void) const
 getter for the Tool attribute More...
 
void setTool (Py::Long arg)
 setter for the Tool attribute More...
 
Py::Long getBase (void) const
 getter for the Base attribute More...
 
void setBase (Py::Long arg)
 setter for the Base attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
WaypointgetWaypointPtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_getName (PyObject *self, void *closure)
 getter callback for the Name attribute More...
 
static int staticCallback_setName (PyObject *self, PyObject *value, void *closure)
 setter callback for the Name attribute More...
 
static PyObjectstaticCallback_getType (PyObject *self, void *closure)
 getter callback for the Type attribute More...
 
static int staticCallback_setType (PyObject *self, PyObject *value, void *closure)
 setter callback for the Type attribute More...
 
static PyObjectstaticCallback_getPos (PyObject *self, void *closure)
 getter callback for the Pos attribute More...
 
static int staticCallback_setPos (PyObject *self, PyObject *value, void *closure)
 setter callback for the Pos attribute More...
 
static PyObjectstaticCallback_getCont (PyObject *self, void *closure)
 getter callback for the Cont attribute More...
 
static int staticCallback_setCont (PyObject *self, PyObject *value, void *closure)
 setter callback for the Cont attribute More...
 
static PyObjectstaticCallback_getVelocity (PyObject *self, void *closure)
 getter callback for the Velocity attribute More...
 
static int staticCallback_setVelocity (PyObject *self, PyObject *value, void *closure)
 setter callback for the Velocity attribute More...
 
static PyObjectstaticCallback_getTool (PyObject *self, void *closure)
 getter callback for the Tool attribute More...
 
static int staticCallback_setTool (PyObject *self, PyObject *value, void *closure)
 setter callback for the Tool attribute More...
 
static PyObjectstaticCallback_getBase (PyObject *self, void *closure)
 getter callback for the Base attribute More...
 
static int staticCallback_setBase (PyObject *self, PyObject *value, void *closure)
 setter callback for the Base attribute More...
 

Additional Inherited Members

- Protected Attributes inherited from Base::PyObjectBase
std::bitset< 32 > StatusBits
 

Detailed Description

The python export class for Waypoint.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~WaypointPy()

WaypointPy::~WaypointPy ( )
protected

◆ WaypointPy()

WaypointPy::WaypointPy ( Waypoint pcObject,
PyTypeObject *  T = &Type 
)

Member Function Documentation

◆ getBase()

Py::Long WaypointPy::getBase ( void  ) const

getter for the Base attribute

Referenced by staticCallback_getBase().

◆ getCont()

Py::Boolean WaypointPy::getCont ( void  ) const

getter for the Cont attribute

Referenced by staticCallback_getCont().

◆ getCustomAttributes()

PyObject * WaypointPy::getCustomAttributes ( const char *  attr) const

getter method for special attributes (e.g. dynamic ones)

◆ getName()

Py::String WaypointPy::getName ( void  ) const

getter for the Name attribute

Referenced by staticCallback_getName().

◆ getPos()

Py::Object WaypointPy::getPos ( void  ) const

getter for the Pos attribute

Referenced by staticCallback_getPos().

◆ getTool()

Py::Long WaypointPy::getTool ( void  ) const

getter for the Tool attribute

Referenced by staticCallback_getTool().

◆ GetType()

virtual PyTypeObject* Robot::WaypointPy::GetType ( void  )
virtual

Reimplemented from Base::PersistencePy.

◆ getType()

Py::String WaypointPy::getType ( void  ) const

◆ getVelocity()

Py::Float WaypointPy::getVelocity ( void  ) const

getter for the Velocity attribute

Referenced by staticCallback_getVelocity().

◆ getWaypointPtr()

Waypoint * WaypointPy::getWaypointPtr ( void  ) const

getter for the object handled by this class

◆ PyInit()

int WaypointPy::PyInit ( PyObject ,
PyObject  
)
virtual

PyInit method Override this method to initialize a newly created instance of the class (Constructor)

Reimplemented from Base::PersistencePy.

References Base::Unit::Acceleration, Robot::Waypoint::CIRC, Robot::Waypoint::LINE, Robot::Waypoint::PTP, Base::UnitsApi::toDbl(), Base::PlacementPy::Type, Robot::Waypoint::UNDEF, Base::Unit::Velocity, and Robot::Waypoint::WAIT.

◆ PyMake()

PyObject * WaypointPy::PyMake ( struct _typeobject *  ,
PyObject ,
PyObject  
)
static

◆ representation()

◆ setBase()

void WaypointPy::setBase ( Py::Long  arg)

setter for the Base attribute

Referenced by staticCallback_setBase().

◆ setCont()

void WaypointPy::setCont ( Py::Boolean  arg)

setter for the Cont attribute

Referenced by staticCallback_setCont().

◆ setCustomAttributes()

int WaypointPy::setCustomAttributes ( const char *  attr,
PyObject obj 
)

setter for special attributes (e.g.

dynamic ones) Output: Success=1, Failure=-1, Ignore=0

◆ setName()

void WaypointPy::setName ( Py::String  arg)

setter for the Name attribute

Referenced by staticCallback_setName().

◆ setPos()

void WaypointPy::setPos ( Py::Object  arg)

setter for the Pos attribute

References PyType_Object::o, and Base::PlacementPy::Type.

Referenced by staticCallback_setPos().

◆ setTool()

void WaypointPy::setTool ( Py::Long  arg)

setter for the Tool attribute

Referenced by staticCallback_setTool().

◆ setType()

void WaypointPy::setType ( Py::String  arg)

◆ setVelocity()

void WaypointPy::setVelocity ( Py::Float  arg)

setter for the Velocity attribute

Referenced by staticCallback_setVelocity().

◆ staticCallback_getBase()

PyObject * WaypointPy::staticCallback_getBase ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getCont()

PyObject * WaypointPy::staticCallback_getCont ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getName()

PyObject * WaypointPy::staticCallback_getName ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getPos()

PyObject * WaypointPy::staticCallback_getPos ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getTool()

PyObject * WaypointPy::staticCallback_getTool ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getType()

PyObject * WaypointPy::staticCallback_getType ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getVelocity()

PyObject * WaypointPy::staticCallback_getVelocity ( PyObject self,
void *  closure 
)
static

◆ staticCallback_setBase()

int WaypointPy::staticCallback_setBase ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setCont()

int WaypointPy::staticCallback_setCont ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setName()

int WaypointPy::staticCallback_setName ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setPos()

int WaypointPy::staticCallback_setPos ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setTool()

int WaypointPy::staticCallback_setTool ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setType()

int WaypointPy::staticCallback_setType ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setVelocity()

int WaypointPy::staticCallback_setVelocity ( PyObject self,
PyObject value,
void *  closure 
)
static

Member Data Documentation

◆ GetterSetter

PyGetSetDef WaypointPy::GetterSetter
static

Attribute structure of WaypointPy.

◆ Methods

PyMethodDef WaypointPy::Methods
static
Initial value:
= {
{NULL, NULL, 0, NULL}
}

Methods structure of WaypointPy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Robot/App/WaypointPy.h
  • src/Mod/Robot/App/WaypointPyImp.cpp
  • build/webdoc/src/Mod/Robot/App/WaypointPy.cpp