App::DocumentObserverPython Class Reference

The DocumentObserverPython class is used to notify registered Python instances whenever something happens to a document, like creation, destruction, adding or removing objects or when property changes. More...

#include <DocumentObserverPython.h>

List of all members.

Public Member Functions

 DocumentObserverPython (const Py::Object &obj)
 Constructor.
virtual ~DocumentObserverPython ()

Static Public Member Functions

static void addObserver (const Py::Object &obj)
static void removeObserver (const Py::Object &obj)

Detailed Description

The DocumentObserverPython class is used to notify registered Python instances whenever something happens to a document, like creation, destruction, adding or removing objects or when property changes.

Author:
Werner Mayer

Definition at line 42 of file DocumentObserverPython.h.


Constructor & Destructor Documentation

DocumentObserverPython::DocumentObserverPython ( const Py::Object obj  ) 
DocumentObserverPython::~DocumentObserverPython (  )  [virtual]

Definition at line 79 of file DocumentObserverPython.cpp.


Member Function Documentation

void DocumentObserverPython::addObserver ( const Py::Object obj  )  [static]

Definition at line 40 of file DocumentObserverPython.cpp.

References DocumentObserverPython().

void DocumentObserverPython::removeObserver ( const Py::Object obj  )  [static]

Definition at line 45 of file DocumentObserverPython.cpp.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:01:43 2011 for FreeCAD by  doxygen 1.6.1