FeatureCustomT is a template class to be used with DocumentObject or any of its subclasses as template parameter. More...
#include <FeatureCustom.h>
Public Member Functions | |
FeatureCustomT () | |
virtual | ~FeatureCustomT () |
methods override DocumentObject | |
short | mustExecute () const |
virtual DocumentObjectExecReturn * | execute (void) |
recalculate the Feature More... | |
virtual const char * | getViewProviderName (void) const |
returns the type name of the ViewProvider More... | |
PyObject * | getPyObject (void) |
void | setPyObject (PyObject *obj) |
virtual void | onBeforeChange (const Property *prop) |
virtual void | onChanged (const Property *prop) |
virtual void | onDocumentRestored () |
virtual void | onSettingDocument () |
FeatureCustomT (const FeatureCustomT &)=delete | |
FeatureCustomT (FeatureCustomT &&)=delete | |
FeatureCustomT & | operator= (const FeatureCustomT &)=delete |
FeatureCustomT & | operator= (FeatureCustomT &&)=delete |
FeatureCustomT is a template class to be used with DocumentObject or any of its subclasses as template parameter.
FeatureCustomT offers a way to add or remove a property at runtime. This class is similar to FeaturePythonT with the difference that it has no support for in Python written feature classes.
App::FeatureCustomT< FeatureT >::FeatureCustomT | ( | ) |
|
virtual |
|
protecteddelete |
|
protecteddelete |
|
virtual |
recalculate the Feature
Referenced by draftobjects.facebinder.Facebinder::addSubobjects(), PathScripts.PathDressupDogbone.ObjectDressup::boneStateList(), ArchSite.Compass::buildCoordinates(), PathScripts.PathDressupHoldingTags.ObjectTagDressup::generateTags(), ArchPanel.PanelCut::getWires(), ArchSchedule.CommandArchSchedule::IsActive(), Mod.PartDesign.Scripts.DistanceBolt.DistanceBolt::onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid::onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped::onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder::onChanged(), Mod.PartDesign.Scripts.Spring.MySpring::onChanged(), FeaturePython.DistanceBolt::onChanged(), PathScripts.PathStock.StockFromBase::onChanged(), PathScripts.PathStock.StockCreateBox::onChanged(), PathScripts.PathStock.StockCreateCylinder::onChanged(), draftobjects.draftlink.DraftLink::onDocumentRestored(), draftobjects.patharray.PathArray::onDocumentRestored(), and draftobjects.pathtwistedarray.PathTwistedArray::onDocumentRestored().
PyObject * App::FeatureCustomT< FeatureT >::getPyObject | ( | void | ) |
|
virtual |
returns the type name of the ViewProvider
short App::FeatureCustomT< FeatureT >::mustExecute | ( | void | ) | const |
|
protectedvirtual |
Referenced by PathScripts.PathGui.QuantitySpinBox::updateProperty().
|
protectedvirtual |
Referenced by ArchStructure.CommandStructuralSystem::Activated(), draftviewproviders.view_base.ViewProviderDraft::attach(), ArchSite.Compass::buildCoordinates(), draftobjects.wire.Wire::execute(), ArchBuildingPart.ViewProviderBuildingPart::updateData(), ArchPanel.ViewProviderPanelCut::updateData(), ArchPanel.ViewProviderPanelSheet::updateData(), draftviewproviders.view_label.ViewProviderLabel::updateData(), draftviewproviders.view_layer.ViewProviderLayer::updateData(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy::updateData().
|
protectedvirtual |
|
protectedvirtual |
|
protecteddelete |
|
protecteddelete |
void App::FeatureCustomT< FeatureT >::setPyObject | ( | PyObject * | obj | ) |