template<bool Required = true>
template<class Derived>
struct LV2::EventRef< Required >::I< Derived >
This is the type that your plugin class will inherit when you use the EventRef mixin. The public and protected members defined here will be available in your plugin class.
template<bool Required = true>
template<class Derived>
uint32_t LV2::EventRef< Required >::I< Derived >::event_ref |
( |
LV2_Event * | event | ) |
|
|
inlineprotected |
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()
.