#include <DocumentThread.h>
Public Member Functions | |
| App::DocumentObjectExecReturn * | execute (void) |
| get called by the document to recompute this feature Normaly this method get called in the processing of Document::recompute(). | |
| virtual Base::Type | getTypeId (void) const |
| const char * | getViewProviderName (void) const |
| returns the type name of the ViewProvider | |
| short | mustExecute (void) const |
| mustExecute We call this method to check if the object was modified to be invoked. | |
| void | onChanged (const App::Property *prop) |
| get called by the container when a property was changed | |
| void | resetValue () |
| SandboxObject () | |
| void | setIntValue (int) |
| ~SandboxObject () | |
Static Public Member Functions | |
| static void * | create (void) |
| static Base::Type | getClassTypeId (void) |
| static void | init (void) |
Public Attributes | |
| App::PropertyInteger | Integer |
Protected Member Functions | |
| virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
| static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 85 of file DocumentThread.h.
| SandboxObject::SandboxObject | ( | ) |
Definition at line 163 of file DocumentThread.cpp.
References ADD_PROPERTY.
| SandboxObject::~SandboxObject | ( | ) |
Definition at line 168 of file DocumentThread.cpp.
| void * Sandbox::SandboxObject::create | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 161 of file DocumentThread.cpp.
| App::DocumentObjectExecReturn * SandboxObject::execute | ( | void | ) | [virtual] |
get called by the document to recompute this feature Normaly this method get called in the processing of Document::recompute().
In execute() the outpupt properties get recomputed with the data from linked objects and objects own properties.
Reimplemented from App::DocumentObject.
Definition at line 179 of file DocumentThread.cpp.
References Base::Console().
| Base::Type Sandbox::SandboxObject::getClassTypeId | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 161 of file DocumentThread.cpp.
| const App::PropertyData & Sandbox::SandboxObject::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 161 of file DocumentThread.cpp.
| const App::PropertyData * Sandbox::SandboxObject::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from App::PropertyContainer.
Definition at line 161 of file DocumentThread.cpp.
| Base::Type Sandbox::SandboxObject::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from App::PropertyContainer.
Definition at line 161 of file DocumentThread.cpp.
| const char* Sandbox::SandboxObject::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the ViewProvider
Reimplemented from App::DocumentObject.
Definition at line 98 of file DocumentThread.h.
| void Sandbox::SandboxObject::init | ( | void | ) | [static] |
Reimplemented from App::PropertyContainer.
Definition at line 161 of file DocumentThread.cpp.
Referenced by initSandbox().
| short SandboxObject::mustExecute | ( | void | ) | const [virtual] |
mustExecute We call this method to check if the object was modified to be invoked.
If the object label or an argument is modified. If we must recompute the object - to call the method execute(). 0: no recompution is needed 1: recompution needed -1: the document examine all links of this object and if one is touched -> recompute
Reimplemented from App::DocumentObject.
Definition at line 172 of file DocumentThread.cpp.
References Integer, and App::Property::isTouched().
| void SandboxObject::onChanged | ( | const App::Property * | prop | ) | [virtual] |
get called by the container when a property was changed
Reimplemented from App::DocumentObject.
Definition at line 185 of file DocumentThread.cpp.
References Base::Console(), App::PropertyInteger::getValue(), and Integer.
| void SandboxObject::resetValue | ( | ) |
Definition at line 198 of file DocumentThread.cpp.
References Base::Console(), Integer, and App::PropertyInteger::setValue().
| void SandboxObject::setIntValue | ( | int | v | ) |
Definition at line 192 of file DocumentThread.cpp.
References Base::Console(), Integer, and App::PropertyInteger::setValue().
Definition at line 93 of file DocumentThread.h.
Referenced by mustExecute(), onChanged(), resetValue(), and setIntValue().
1.6.1