![]()  | 
  
    cppexpose
    1.0.0.b785e04f23b8
    
   C++ library for type introspection, reflection, and scripting interface 
   | 
 
Base class for scripting context backends. More...
#include <cppexpose/include/cppexpose/scripting/AbstractScriptBackend.h>

Public Member Functions | |
| AbstractScriptBackend () | |
| Constructor.  More... | |
| virtual | ~AbstractScriptBackend () | 
| Destructor.  More... | |
| ScriptContext * | scriptContext () const | 
| Get script context that owns the backend.  More... | |
| virtual void | initialize (ScriptContext *scriptContext)=0 | 
| Initialize scripting backend.  More... | |
| virtual void | addGlobalObject (Object *obj)=0 | 
| Add a global object that is exposed into the scripting environment.  More... | |
| virtual void | removeGlobalObject (Object *obj)=0 | 
| Remove a global object that is exposed into the scripting environment.  More... | |
| virtual Variant | evaluate (const std::string &code)=0 | 
| Execute script.  More... | |
Protected Attributes | |
| ScriptContext * | m_scriptContext | 
| Script context holding this backend.  More... | |
Base class for scripting context backends.
| cppexpose::AbstractScriptBackend::AbstractScriptBackend | ( | ) | 
Constructor.
      
  | 
  virtual | 
Destructor.
| ScriptContext* cppexpose::AbstractScriptBackend::scriptContext | ( | ) | const | 
Get script context that owns the backend.
      
  | 
  pure virtual | 
Initialize scripting backend.
| [in] | scriptContext | Script context that owns the backend (must NOT be null) | 
      
  | 
  pure virtual | 
Add a global object that is exposed into the scripting environment.
| [in] | obj | Global object (must NOT be null) | 
      
  | 
  pure virtual | 
Remove a global object that is exposed into the scripting environment.
| [in] | obj | Global object (must NOT be null) | 
      
  | 
  pure virtual | 
Execute script.
| [in] | code | Scripting code | 
      
  | 
  protected | 
Script context holding this backend.
 1.8.11