Represents a dynamic object, which enables the invocation of dynamically defined methods.
More...
#include <DynamicObject.hpp>
|
template<typename Function > |
Function | getInvocableMember (const std::string &member) |
| Returns an invocable member of the shared object and cast its to the provided template. More...
|
|
virtual | ~DynamicObject ()=default |
| Destructor. More...
|
|
Represents a dynamic object, which enables the invocation of dynamically defined methods.
◆ ~DynamicObject()
virtual NES::Compiler::DynamicObject::~DynamicObject |
( |
| ) |
|
|
virtualdefault |
◆ getInvocableFunctionPtr()
virtual void* NES::Compiler::DynamicObject::getInvocableFunctionPtr |
( |
const std::string & |
member | ) |
|
|
protectedpure virtual |
◆ getInvocableMember()
template<typename Function >
Function NES::Compiler::DynamicObject::getInvocableMember |
( |
const std::string & |
member | ) |
|
|
inline |
Returns an invocable member of the shared object and cast its to the provided template.
- Template Parameters
-
- Parameters
-
member | on the dynamic object, currently provided as a MangledName. #TODO #2073 look up mangled name dynamically. |
- Returns
- Function
References getInvocableFunctionPtr().
The documentation for this class was generated from the following file: