|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Represents a @DynamicObject, which relies on a shared library. More...
#include <SharedLibrary.hpp>
Public Member Functions | |
| SharedLibrary (void *shareLib, std::string soAbsolutePath) | |
| Creates a new @SharedLibrary Object. More... | |
| ~SharedLibrary () override | |
| Destructor for the shared library. Automatically unloads the shared library from memory. More... | |
Public Member Functions inherited from NES::Compiler::DynamicObject | |
| 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... | |
Static Public Member Functions | |
| static SharedLibraryPtr | load (const std::string &absoluteFilePath) |
| Loads a shared library from a specific path. More... | |
Protected Member Functions | |
| void * | getInvocableFunctionPtr (const std::string &member) override |
| Returns a untyped function pointer to a specific symbol. More... | |
Represents a @DynamicObject, which relies on a shared library.
|
explicit |
Creates a new @SharedLibrary Object.
| shareLib | |
| soAbsolutePath | absolute path where so file is stored |
References NES_ASSERT.
|
override |
Destructor for the shared library. Automatically unloads the shared library from memory.
References NES_ERROR.
|
overrideprotectedvirtual |
Returns a untyped function pointer to a specific symbol.
| member | on the dynamic object, currently provided as a MangledName. |
Implements NES::Compiler::DynamicObject.
References NES_ERROR.
|
static |
Loads a shared library from a specific path.
| absoluteFilePath | absolute path where so file is stored |
References NES_ERROR.
Referenced by NES::Compiler::CPPCompiler::compile(), and TEST_F().