dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::coremidi::server::plugin< stream_pin_t, device_t, driver_t > Class Template Reference

CoreMIDI plugin. More...

#include <dx_coremidi_server.h>

Inheritance diagram for dx::coremidi::server::plugin< stream_pin_t, device_t, driver_t >:
Collaboration diagram for dx::coremidi::server::plugin< stream_pin_t, device_t, driver_t >:

Public Member Functions

 operator ::MIDIDriverRef() noexcept
 plugin(const typename super::match& matching_dictionaries, const char* id)
 ~plugin() override

Public Attributes

::MIDIDriverInterface* interface{static_cast<::MIDIDriverInterface*>(this)}
cf::uuid uuid{DX_CFSTRINGIFY(DX_PRODUCT_GUID)}

Protected Member Functions

void arrived(device_t& device) override
 create CoreMIDI device and attach it to CoreMIDI server
void launch() override

Detailed Description

template<typename stream_pin_t, typename device_t = device<stream_pin_t>, typename driver_t = proxy::stream::driver<device_t>>
class dx::coremidi::server::plugin< stream_pin_t, device_t, driver_t >

CoreMIDI plugin.

Debugging Start MIDI application or run /System/Library/Frameworks/CoreMIDI.framework/MIDIServer from cmd line and connect to its PID. Running CoreMIDIServer as debug target does not seem to work though.

Constructor & Destructor Documentation

◆ plugin()

template<typename stream_pin_t, typename device_t= device<stream_pin_t>, typename driver_t= proxy::stream::driver<device_t>>
dx::coremidi::server::plugin<stream_pin_t, device_t, driver_t>::plugin(const typename super::match& matching_dictionaries, const char* id)
inline
Parameters
matching_dictionariesthe matching dictionary identifying the driver interface
idcoremidi server plugins bundle ID
Here is the call graph for this function:

◆ ~plugin()

template<typename stream_pin_t, typename device_t= device<stream_pin_t>, typename driver_t= proxy::stream::driver<device_t>>
dx::coremidi::server::plugin<stream_pin_t, device_t, driver_t>::~plugin()
inlineoverride

Member Function Documentation

◆ arrived()

template<typename stream_pin_t, typename device_t= device<stream_pin_t>, typename driver_t= proxy::stream::driver<device_t>>
void dx::coremidi::server::plugin<stream_pin_t, device_t, driver_t>::arrived(device_t& device)
inlineoverrideprotected

create CoreMIDI device and attach it to CoreMIDI server

◆ launch()

template<typename stream_pin_t, typename device_t= device<stream_pin_t>, typename driver_t= proxy::stream::driver<device_t>>
void dx::coremidi::server::plugin<stream_pin_t, device_t, driver_t>::launch()
inlineoverrideprotected

◆ operator ::MIDIDriverRef()

template<typename stream_pin_t, typename device_t= device<stream_pin_t>, typename driver_t= proxy::stream::driver<device_t>>
dx::coremidi::server::plugin<stream_pin_t, device_t, driver_t>::operator ::MIDIDriverRef()
inlinenoexcept

Member Data Documentation

◆ interface

template<typename stream_pin_t, typename device_t= device<stream_pin_t>, typename driver_t= proxy::stream::driver<device_t>>
::MIDIDriverInterface* dx::coremidi::server::plugin<stream_pin_t, device_t, driver_t>::interface{static_cast<::MIDIDriverInterface*>(this)}

◆ uuid

template<typename stream_pin_t, typename device_t= device<stream_pin_t>, typename driver_t= proxy::stream::driver<device_t>>
cf::uuid dx::coremidi::server::plugin<stream_pin_t, device_t, driver_t>::uuid{DX_CFSTRINGIFY(DX_PRODUCT_GUID)}

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