Phasor 2.2.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
Phasor::Plugin Struct Reference

Represents a loaded plugin. More...

#include <ffi.hpp>

Collaboration diagram for Phasor::Plugin:
[legend]

Public Attributes

void * handle
 POSIX handle for the loaded library.
std::string path
 Path to the plugin file.
FFIFunction init
 Plugin initialization function.
std::function< void()> shutdown
 Optional shutdown callback.

Detailed Description

Represents a loaded plugin.

Stores the platform-specific library handle, the plugin's file path, the initialization function, and an optional shutdown function.

Definition at line 29 of file ffi.hpp.

Member Data Documentation

◆ handle

void* Phasor::Plugin::handle

POSIX handle for the loaded library.

Definition at line 34 of file ffi.hpp.

◆ init

FFIFunction Phasor::Plugin::init

Plugin initialization function.

Definition at line 37 of file ffi.hpp.

◆ path

std::string Phasor::Plugin::path

Path to the plugin file.

Definition at line 36 of file ffi.hpp.

◆ shutdown

std::function<void()> Phasor::Plugin::shutdown

Optional shutdown callback.

Definition at line 38 of file ffi.hpp.


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