The python export class for PathSim. More...
#include <PathSimPy.h>
Public Types | |
typedef PathSim * PointerType | |
![]() | |
typedef BaseClass * PointerType | |
![]() | |
typedef void * PointerType | |
enum Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } | |
Public Member Functions | |
virtual PyTypeObject * GetType (void) | |
PathSimPy (PathSim *pcObject, PyTypeObject *T=&Type) | |
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 | |
![]() | |
BaseClassPy (BaseClass *pcObject, PyTypeObject *T=&Type) | |
std::string representation (void) const | |
PyObject * isDerivedFrom (PyObject *args) | |
implementer for the isDerivedFrom() method More... | |
PyObject * getAllDerivedFrom (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... | |
PyObject * getCustomAttributes (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... | |
BaseClass * getBaseClassPtr (void) const | |
getter for the object handled by this class More... | |
![]() | |
PyObjectBase * DecRef (void) | |
decref method wrapper (see python extending manual) More... | |
PyObjectBase * IncRef (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 PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *) | |
![]() | |
static PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *) | |
static PyObject * staticCallback_isDerivedFrom (PyObject *self, PyObject *args) | |
callback for the isDerivedFrom() method More... | |
static PyObject * staticCallback_getAllDerivedFrom (PyObject *self, PyObject *args) | |
callback for the getAllDerivedFrom() method More... | |
static PyObject * staticCallback_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 PyObject * staticCallback_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 void PyDestructor (PyObject *P) | |
Wrapper for the Python destructor. More... | |
Static Public Attributes | |
static PyGetSetDef GetterSetter [] | |
Attribute structure of PathSimPy. More... | |
static PyMethodDef Methods [] | |
Methods structure of PathSimPy. More... | |
static PyTypeObject Type | |
Type structure of PathSimPy. More... | |
![]() | |
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 PyMethodDef Methods [] | |
static PyTypeObject Type | |
Py_Header struct from python.h. More... | |
Protected Member Functions | |
~PathSimPy () | |
![]() | |
~BaseClassPy () | |
![]() | |
virtual ~PyObjectBase () | |
destructor More... | |
callbacks and implementers for the python object attributes | |
Py::Object getTool (void) const | |
getter for the Tool attribute More... | |
PyObject * getCustomAttributes (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... | |
PathSim * getPathSimPtr (void) const | |
getter for the object handled by this class More... | |
static PyObject * staticCallback_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... | |
Additional Inherited Members | |
![]() | |
std::bitset< 32 > StatusBits | |
Detailed Description
The python export class for PathSim.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~PathSimPy()
|
protected |
◆ PathSimPy()
Member Function Documentation
◆ ApplyCommand()
implementer for the ApplyCommand() method
References PathSimulator::PathSim::ApplyCommand(), getPathSimPtr(), Base::PlacementPy::Type, and Path::CommandPy::Type.
Referenced by staticCallback_ApplyCommand().
◆ BeginSimulation()
implementer for the BeginSimulation() method
References PathSimulator::PathSim::BeginSimulation(), getPathSimPtr(), and Part::TopoShapePy::Type.
Referenced by staticCallback_BeginSimulation().
◆ getCustomAttributes()
PyObject * PathSimPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getPathSimPtr()
PathSim * PathSimPy::getPathSimPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by ApplyCommand(), BeginSimulation(), and GetResultMesh().
◆ GetResultMesh()
implementer for the GetResultMesh() method
References getPathSimPtr(), PathSimulator::PathSim::m_stock, and cStock::Tessellate().
Referenced by staticCallback_GetResultMesh().
◆ getTool()
Py::Object PathSimPy::getTool | ( | void | ) | const |
getter for the Tool attribute
Referenced by staticCallback_getTool().
◆ GetType()
|
virtual |
Reimplemented from Base::BaseClassPy.
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Base::BaseClassPy.
◆ PyMake()
References PathSimPy().
◆ representation()
std::string PathSimPy::representation | ( | void | ) | const |
Referenced by config_control_design.pcurve::wr1(), config_control_design.degenerate_pcurve::wr1(), automotive_design.motion_link_relationship::wr1(), automotive_design.pcurve::wr1(), automotive_design.degenerate_pcurve::wr1(), config_control_design.pcurve::wr2(), config_control_design.degenerate_pcurve::wr2(), automotive_design.pcurve::wr2(), and automotive_design.degenerate_pcurve::wr2().
◆ SetCurrentTool()
implementer for the SetCurrentTool() method
Referenced by staticCallback_SetCurrentTool().
◆ setCustomAttributes()
int PathSimPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ staticCallback_ApplyCommand()
◆ staticCallback_BeginSimulation()
◆ staticCallback_GetResultMesh()
◆ staticCallback_getTool()
getter callback for the Tool attribute
References Base::BaseExceptionFreeCADError, getTool(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_SetCurrentTool()
◆ staticCallback_setTool()
setter callback for the Tool attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of PathSimPy.
◆ Methods
|
static |
Methods structure of PathSimPy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Path/PathSimulator/App/PathSimPy.h
- src/Mod/Path/PathSimulator/App/PathSimPyImp.cpp
- build/webdoc/src/Mod/Path/PathSimulator/App/PathSimPy.cpp