Gui::SelectionObserverPython Class Reference

The SelectionObserverPython class implements a mechanism to register a Python class instance implementing the required interface in order to be notified on selection changes. More...

#include <Selection.h>

Inheritance diagram for Gui::SelectionObserverPython:
Gui::SelectionObserver

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

The SelectionObserverPython class implements a mechanism to register a Python class instance implementing the required interface in order to be notified on selection changes.

Author:
Werner Mayer

Definition at line 147 of file Selection.h.


Constructor & Destructor Documentation

SelectionObserverPython::SelectionObserverPython ( const Py::Object obj  ) 

Constructor.

Definition at line 101 of file Selection.cpp.

Referenced by addObserver().

SelectionObserverPython::~SelectionObserverPython (  )  [virtual]

Definition at line 105 of file Selection.cpp.


Member Function Documentation

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

Definition at line 109 of file Selection.cpp.

References SelectionObserverPython().

Referenced by Gui::SelectionSingleton::sAddSelObserver().

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

Definition at line 114 of file Selection.cpp.

Referenced by Gui::SelectionSingleton::sRemSelObserver().


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

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