openscenegraph
Public Member Functions | Protected Attributes | List of all members
osgWidget::PythonEngine Class Reference
Inheritance diagram for osgWidget::PythonEngine:
osgWidget::ScriptEngine osg::Referenced

Public Member Functions

 PythonEngine (WindowManager *=0)
bool initialize ()
bool close ()
bool eval (const std::string &)
bool runFile (const std::string &)
- Public Member Functions inherited from osgWidget::ScriptEngine
virtual const std::string & getLastErrorText () const
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 Referenced (bool threadSafeRefUnref)
 Referenced (const Referenced &)
Referencedoperator= (const Referenced &)
virtual void setThreadSafeRefUnref (bool threadSafe)
bool getThreadSafeRefUnref () const
OpenThreads::MutexgetRefMutex () const
int ref () const
int unref () const
int unref_nodelete () const
int referenceCount () const
ObserverSetgetObserverSet () const
ObserverSetgetOrCreateObserverSet () const
void addObserver (Observer *observer) const
void removeObserver (Observer *observer) const

Protected Attributes

PythonEngineData * _data
WindowManager_wm
- Protected Attributes inherited from osgWidget::ScriptEngine
std::string _err
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
OpenThreads::Atomic _refCount

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
static bool getThreadSafeReferenceCounting ()
static void setDeleteHandler (DeleteHandler *handler)
static DeleteHandlergetDeleteHandler ()
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
void deleteUsingDeleteHandler () const

Constructor & Destructor Documentation

osgWidget::PythonEngine::PythonEngine ( WindowManager = 0)

Member Function Documentation

bool osgWidget::PythonEngine::close ( )
virtual

Reimplemented from osgWidget::ScriptEngine.

bool osgWidget::PythonEngine::eval ( const std::string &  )
virtual

Reimplemented from osgWidget::ScriptEngine.

bool osgWidget::PythonEngine::initialize ( )
virtual

Reimplemented from osgWidget::ScriptEngine.

bool osgWidget::PythonEngine::runFile ( const std::string &  )
virtual

Reimplemented from osgWidget::ScriptEngine.

Member Data Documentation

PythonEngineData* osgWidget::PythonEngine::_data
protected
WindowManager* osgWidget::PythonEngine::_wm
protected

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