#include <DocumentProtector.h>
Public Member Functions | |
| DocumentObjectProtector (App::DocumentObject *) | |
| void | execute (const AbstractCallable &) |
| App::DocumentObject * | getObject () const |
| bool | setProperty (const std::string &name, const App::Property &p) |
| ~DocumentObjectProtector () | |
Definition at line 121 of file DocumentProtector.h.
| DocumentObjectProtector::DocumentObjectProtector | ( | App::DocumentObject * | o | ) |
Definition at line 292 of file DocumentProtector.cpp.
| DocumentObjectProtector::~DocumentObjectProtector | ( | ) |
Definition at line 296 of file DocumentProtector.cpp.
| void DocumentObjectProtector::execute | ( | const AbstractCallable & | call | ) |
Definition at line 321 of file DocumentProtector.cpp.
References Sandbox::DocumentReceiver::globalInstance(), Sandbox::DocumentReceiver::postEventAndWait(), and validate.
Referenced by Sandbox::DocumentTestThread::run().
| App::DocumentObject * DocumentObjectProtector::getObject | ( | void | ) | const |
Definition at line 306 of file DocumentProtector.cpp.
Referenced by Sandbox::DocumentObjectProtectorPy::getattr(), and Sandbox::DocumentObjectProtectorPy::setattr().
| bool DocumentObjectProtector::setProperty | ( | const std::string & | name, | |
| const App::Property & | p | |||
| ) |
Definition at line 311 of file DocumentProtector.cpp.
References App::PropertyContainer::getPropertyByName(), Sandbox::DocumentReceiver::globalInstance(), Sandbox::DocumentReceiver::postEventAndWait(), and validate.
Referenced by Sandbox::DocumentTestThread::run(), and Sandbox::DocumentObjectProtectorPy::setattr().
1.6.1