Sandbox::DocumentObjectProtector Class Reference
#include <DocumentProtector.h>
Public Member Functions | |
DocumentObjectProtector (App::DocumentObject *) | |
void | execute (const AbstractCallable &) |
App::DocumentObject * | getObject () const |
void | purgeTouched () |
bool | setProperty (const std::string &name, const App::Property &p) |
~DocumentObjectProtector () | |
Constructor & Destructor Documentation
◆ DocumentObjectProtector()
DocumentObjectProtector::DocumentObjectProtector | ( | App::DocumentObject * | o | ) |
◆ ~DocumentObjectProtector()
DocumentObjectProtector::~DocumentObjectProtector | ( | ) |
Member Function Documentation
◆ execute()
void DocumentObjectProtector::execute | ( | const AbstractCallable & | call | ) |
◆ getObject()
App::DocumentObject * DocumentObjectProtector::getObject | ( | ) | const |
◆ purgeTouched()
void DocumentObjectProtector::purgeTouched | ( | ) |
◆ setProperty()
bool DocumentObjectProtector::setProperty | ( | const std::string & | name, |
const App::Property & | p | ||
) |
References Sandbox::DocumentReceiver::globalInstance(), and Sandbox::DocumentReceiver::postEventAndWait().
Referenced by Sandbox::DocumentTestThread::run().
The documentation for this class was generated from the following files:
- src/Mod/Sandbox/App/DocumentProtector.h
- src/Mod/Sandbox/App/DocumentProtector.cpp