OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
osgWidget::PythonEngine Class Reference

#include <Python.h>

Inheritance diagram for osgWidget::PythonEngine:
Inheritance graph
[legend]
Collaboration diagram for osgWidget::PythonEngine:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 25 of file Python.h.

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

Definition at line 36 of file Python.h.

WindowManager* osgWidget::PythonEngine::_wm
protected

Definition at line 37 of file Python.h.


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