dxd - dynax driver framework 3.0.1d223
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx_coremidi_device.h File Reference
#include "dx_midi.h"
#include "dx_coremidi_property.h"
#include "dx_virtual_stream_device.h"
#include <vector>
Include dependency graph for dx_coremidi_device.h:

Classes

class  dx::coremidi::_device< desc_t, preference_t, stream_t >
 CoreMIDI client device. More...
class  dx::coremidi::device< desc_t, preference_t, stream_t >
 CoreMIDI client device. More...
class  dx::coremidi::stream< device_t, circular_t >
 one source or destination: the in side writes what the endpoint's callback delivers into the ring at the moment each packet carries and never stalls - a full ring drops and counts - while the out side's own thread reads whole packets and hands them to CoreMIDI at their own timestamps, which schedules what is still due More...

Namespaces

namespace  dx
 dynax driver framework interface namespace
namespace  dx::coremidi
 the MIDI client over CoreMIDI, which speaks Universal MIDI Packets since macOS 11 - so this bus's rings carry UMP, and a MIDITimeStamp is dx::timestamp itself, converted nowhere

Macros

#define DX_MIDI_PROPERTY_CFDICTIONARY(name)
#define DX_MIDI_PROPERTY_CFSTRING(name)
#define DX_MIDI_PROPERTY_INT32(name)

Typedefs

using dx::coremidi::desc = dx::stream::desc<target, 2, 2>

Functions

template<typename desc_t>
std::ostream & operator<< (std::ostream &os, const dx::coremidi::device< desc_t > &device)

Macro Definition Documentation

◆ DX_MIDI_PROPERTY_CFDICTIONARY

#define DX_MIDI_PROPERTY_CFDICTIONARY ( name)
Value:
try {cf::dictionary<> value{static_cast<::CFDictionaryRef>(property{this->id, name})}; os<< #name<< "("<< name<< "): "<< static_cast<::CFDictionaryRef>(value)<< std::endl;} catch(...){}
key value pair store
Definition cf_dictionary.h:50
std::string name()
Definition macOS/dx_sync.h:231

◆ DX_MIDI_PROPERTY_CFSTRING

#define DX_MIDI_PROPERTY_CFSTRING ( name)
Value:
try {cf::string value{static_cast<::CFStringRef>(property{this->id, name})}; os<< #name<< "("<< name<< "): "<< static_cast<::CFStringRef>(value)<< std::endl;} catch(...){}
type< const char * > string
Definition cf_string.h:134

◆ DX_MIDI_PROPERTY_INT32

#define DX_MIDI_PROPERTY_INT32 ( name)
Value:
try {int32_t value= property{this->id, name}; os<< #name<< "("<< name<< "): "<< std::hex<< value<< std::dec<< std::endl;} catch(...){}
int int32_t
Definition wdk/dxd_platform.h:116

Function Documentation

◆ operator<<()

template<typename desc_t>
std::ostream & operator<< ( std::ostream & os,
const dx::coremidi::device< desc_t > & device )
inline

(c) copyright 2009 dynamic acoustics e.U. generated on

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.