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::LuaEngine Class Reference

#include <Lua.h>

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

Public Member Functions

 LuaEngine (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

LuaEngineData * _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 28 of file Lua.h.

Constructor & Destructor Documentation

osgWidget::LuaEngine::LuaEngine ( WindowManager = 0)

Member Function Documentation

bool osgWidget::LuaEngine::close ( )
virtual

Reimplemented from osgWidget::ScriptEngine.

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

Reimplemented from osgWidget::ScriptEngine.

bool osgWidget::LuaEngine::initialize ( )
virtual

Reimplemented from osgWidget::ScriptEngine.

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

Reimplemented from osgWidget::ScriptEngine.

Member Data Documentation

LuaEngineData* osgWidget::LuaEngine::_data
protected

Definition at line 40 of file Lua.h.

WindowManager* osgWidget::LuaEngine::_wm
protected

Definition at line 41 of file Lua.h.


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