dxd - dynax driver framework  2723
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::midi::pin< io_t, stream_t, exception_t, pin_desc_t > Class Template Reference

#include <dx_midi.h>

+ Inheritance diagram for dx::midi::pin< io_t, stream_t, exception_t, pin_desc_t >:
+ Collaboration diagram for dx::midi::pin< io_t, stream_t, exception_t, pin_desc_t >:

Public Member Functions

void launch () throw (exception_t)
 kernel notification event More...
 
 pin (stream_t &stream, const struct stream_t::pin &pin_desc) throw (exception_t)
 pin constructor More...
 
void send (const ::MIDIPacketList *pktlist) throw (exception_t)
 encode and send MIDI from system to device More...
 
 ~pin () noexcept
 pin destructor More...
 

Detailed Description

template<typename io_t, typename stream_t, typename exception_t, typename pin_desc_t = typename stream_t::pin_desc>
class dx::midi::pin< io_t, stream_t, exception_t, pin_desc_t >

/brief CoreMIDI pin

Constructor & Destructor Documentation

template<typename io_t , typename stream_t , typename exception_t , typename pin_desc_t = typename stream_t::pin_desc>
dx::midi::pin< io_t, stream_t, exception_t, pin_desc_t >::pin ( stream_t &  stream,
const struct stream_t::pin< io_t, stream_t, exception_t, pin_desc_t > &  pin_desc 
)
throw (exception_t
)
inline

pin constructor

Parameters
pin_descstream reference description from kernel device stream interface

+ Here is the call graph for this function:

template<typename io_t , typename stream_t , typename exception_t , typename pin_desc_t = typename stream_t::pin_desc>
dx::midi::pin< io_t, stream_t, exception_t, pin_desc_t >::~pin ( )
inlinenoexcept

pin destructor

Member Function Documentation

template<typename io_t , typename stream_t , typename exception_t , typename pin_desc_t = typename stream_t::pin_desc>
void dx::midi::pin< io_t, stream_t, exception_t, pin_desc_t >::launch ( )
throw (exception_t
)
inline

kernel notification event

launch() is triggered by the streaming device kernel extension whenever new MIDI data arrive.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename io_t , typename stream_t , typename exception_t , typename pin_desc_t = typename stream_t::pin_desc>
void dx::midi::pin< io_t, stream_t, exception_t, pin_desc_t >::send ( const ::MIDIPacketList *  pktlist)
throw (exception_t
)
inline

encode and send MIDI from system to device

Todo:
to be replaced by real shared signal

+ Here is the caller graph for this function:


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

(c) copyright 2009 dynamic acoustics e.U. generated on Tue May 21 2019

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.