#include <lv2plugin.hpp>
Inherits LV2::Extension< Required >.
Protected Member Functions | |
uint32_t | event_ref (LV2_Event *event) |
uint32_t | event_unref (LV2_Event *event) |
uint32_t LV2::EventRef< Required >::I< Derived >::event_ref | ( | LV2_Event * | event | ) | [inline, protected] |
This should be called by the plugin for any event of type 0 if it creates an additional copy of it, either by saving more than one copy internally, passing more than one copy through to an output port, or a combination of those. It must be called once for each additional copy of the event. Note that you must not call this function if you just save one copy of the event, or just passes one copy through to an output port. param
event The event, as returned by lv2_event_get()
.
uint32_t LV2::EventRef< Required >::I< Derived >::event_unref | ( | LV2_Event * | event | ) | [inline, protected] |
This should be called by the plugin for any event of type 0, unless it keeps a copy of it or passes it through to an event output port. param
event The event, as returned by lv2_event_get()
.