Wolframe, 0.0.3

_Wolframe::langbind::RuntimeEnvironmentFormFunction Class Reference

Form function that needs an execution environment. More...

#include <runtimeEnvironment.hpp>

Inheritance diagram for _Wolframe::langbind::RuntimeEnvironmentFormFunction:
_Wolframe::langbind::FormFunction

Public Member Functions

 RuntimeEnvironmentFormFunction (const std::string &funcname_, const RuntimeEnvironment *env_)
 Constructor. More...
 
virtual
langbind::FormFunctionClosure
createClosure () const
 Create a function closure for execution with help of the runtime environment. More...
 
- Public Member Functions inherited from _Wolframe::langbind::FormFunction
virtual ~FormFunction ()
 Destructor. More...
 
virtual bool initializeContext ()
 Optional function to implement if there is anything to be initialized after creation of all functions. More...
 

Private Attributes

const RuntimeEnvironmentm_env
 runtime environment reference More...
 
std::string m_funcname
 name of the function More...
 

Detailed Description

Form function that needs an execution environment.

Constructor & Destructor Documentation

_Wolframe::langbind::RuntimeEnvironmentFormFunction::RuntimeEnvironmentFormFunction ( const std::string &  funcname_,
const RuntimeEnvironment env_ 
)
inline

Constructor.

Parameters
[in]funcname_name of the function
[in]env_runtime environment of the function

Member Function Documentation

virtual langbind::FormFunctionClosure* _Wolframe::langbind::RuntimeEnvironmentFormFunction::createClosure ( ) const
inlinevirtual

Create a function closure for execution with help of the runtime environment.

Returns
created closure

Implements _Wolframe::langbind::FormFunction.

Member Data Documentation

const RuntimeEnvironment* _Wolframe::langbind::RuntimeEnvironmentFormFunction::m_env
private

runtime environment reference

std::string _Wolframe::langbind::RuntimeEnvironmentFormFunction::m_funcname
private

name of the function


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