OpenSceneGraph  3.4.0
Public Member Functions | Protected Member Functions | Protected Attributes
osg::ScriptEngine Class Reference

ScriptEngine base class for integrating different scripting languages. More...

Inheritance diagram for osg::ScriptEngine:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const std::string & getLanguage () const
 get the scripting language supported by the ScriptEngine.
bool run (osg::Script *script)
 run a Script.
virtual bool run (osg::Script *script, const std::string &entryPoint, Parameters &inputParameters, Parameters &outputParameters)=0
 run a Script.

Protected Member Functions

 ScriptEngine (const std::string &language)
virtual ~ScriptEngine ()

Protected Attributes

std::string _language

Detailed Description

ScriptEngine base class for integrating different scripting languages.

Concrete ScriptEngine's are provided by osgDB::readFile<ScriptEngine>


Constructor & Destructor Documentation

osg::ScriptEngine::ScriptEngine ( const std::string &  language) [inline, protected]
virtual osg::ScriptEngine::~ScriptEngine ( ) [inline, protected, virtual]

Member Function Documentation

const std::string& osg::ScriptEngine::getLanguage ( ) const [inline]

get the scripting language supported by the ScriptEngine.

References _language.

bool osg::ScriptEngine::run ( osg::Script script) [inline]

run a Script.

virtual bool osg::ScriptEngine::run ( osg::Script script,
const std::string &  entryPoint,
Parameters inputParameters,
Parameters outputParameters 
) [pure virtual]

run a Script.


Member Data Documentation

std::string osg::ScriptEngine::_language [protected]

Referenced by getLanguage().


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

osg logo
Generated at Tue Dec 8 2015 00:14:25 for the OpenSceneGraph by doxygen 1.7.6.1.