|
OpenSceneGraph
3.4.0
|
ScriptEngine base class for integrating different scripting languages. More...

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 |
ScriptEngine base class for integrating different scripting languages.
Concrete ScriptEngine's are provided by osgDB::readFile<ScriptEngine>
| osg::ScriptEngine::ScriptEngine | ( | const std::string & | language | ) | [inline, protected] |
References osg::Object::setName().
| virtual osg::ScriptEngine::~ScriptEngine | ( | ) | [inline, protected, virtual] |
| 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.
std::string osg::ScriptEngine::_language [protected] |
Referenced by getLanguage().
| Generated at Tue Dec 8 2015 00:16:43 for the OpenSceneGraph by doxygen 1.7.6.1. |