#include <BackendPlugin.h>
Definition at line 29 of file BackendPlugin.h.
◆ Entry
◆ BackendPlugin() [1/3]
nnkit::BackendPlugin::BackendPlugin |
( |
void * |
handle, |
|
|
Entry |
entry |
|
) |
| |
|
inline |
Definition at line 35 of file BackendPlugin.h.
35 : _handle{handle}, _entry{
entry}
36 {
37
38 }
int entry(const int argc, char **argv)
◆ BackendPlugin() [2/3]
◆ BackendPlugin() [3/3]
Definition at line 29 of file BackendPlugin.cpp.
30{
31
32 _handle = plugin._handle;
33 _entry = plugin._entry;
34
35 plugin._handle = nullptr;
36 plugin._entry = nullptr;
37}
◆ ~BackendPlugin()
nnkit::BackendPlugin::~BackendPlugin |
( |
| ) |
|
Definition at line 39 of file BackendPlugin.cpp.
40{
41 if (_handle != nullptr)
42 {
43 dlclose(_handle);
44 }
45}
◆ create()
The documentation for this class was generated from the following files: