dxd - dynax driver framework 2.6.0d205
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::coremidi::stream< device_t, circular_t > Class Template Reference

#include <dx_coremidi_device.h>

Inheritance diagram for dx::coremidi::stream< device_t, circular_t >:
Collaboration diagram for dx::coremidi::stream< device_t, circular_t >:

Public Types

typedef struct device_t::desc::stream desc
typedef event< kernelevent_t

Public Member Functions

streamattach (channel_t **[2], uint64_t[(channels+63)/64])
DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN catch (const dx::exception &__dx_exception)
 dx_catchall_handler (this,) ~stream() override
virtual bool encoder (dx::stream::encoder::index::type, unsigned int, float)
void exception (const class exception &exception, bool filtered=false) const noexcept override
DX_PRAGMA_IGNORE_RETURN_VALUE_END void flush () override
void info (std::ostream &os) noexcept override try
virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void initialize () try
void launch () override try
 operator dx::midi::circular * () const noexcept
dx::midi::circularoperator-> () const noexcept
virtual bool submit (dx::stream::encoder::index::type, unsigned int, uint8_t)
 submit encoder stage to device return true if successfully submitted; if false is returned the encode state machine will not update the stage value (i.e. if the stage can't be submitted during streaming pause), given the chance to submit the stage at start().

Public Attributes

struct { 
   uint32_t   granularity 
   uint32_t   linesize 
   dx::stream::clock::monitor *   monitor 
   os_result   status 
cache
event_t data [direction::directions]
 event signalising data arrival(in) or draining(out)
uint32_t granularity
const decltype(desc::target.idx()) id
uint32_t latency
uint32_t linesize
dx::stream::clock::monitormonitor
decltype(device_t::samplerate) & samplerate
os_result status

Protected Member Functions

virtual void alloc (size_t size, bool free=true)
virtual void free () noexcept
void halt () noexcept override

Protected Attributes

dx::midi::circularcircular

Private Member Functions

 dx_catchall_rethrow () const reference &retain() const noexcept
 dx_catchall_rethrow () reference &operator
referenceinitialize (::CFStringRef cf_object, bool retain=true) try

Static Private Member Functions

::CFTypeID id () noexcept

Member Typedef Documentation

◆ desc

typedef struct device_t::desc::stream dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::desc
inherited

◆ event_t

typedef event<kernel> dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::event_t
inherited

Member Function Documentation

◆ alloc()

virtual void dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::alloc ( size_t size,
bool free = true )
inlineprotectedvirtualinherited

◆ attach()

stream & dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::attach ( channel_t ** [2],
uint64_t [(channels+63)/64] )
inlineinherited

◆ catch()

DX_PRAGMA_IGNORE_RETURN_VALUE_BEGIN dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::catch ( const dx::exception & __dx_exception)
inlineinherited

◆ dx_catchall_handler()

dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::dx_catchall_handler ( this )
inlineoverrideinherited

◆ encoder()

virtual bool dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::encoder ( dx::stream< device_t, dx::midi::circular >::encoder::index::type ,
unsigned int ,
float  )
inlinevirtualinherited

◆ exception()

void dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::exception ( const class exception & exception,
bool filtered = false ) const
inlineoverridenoexceptinherited

◆ flush()

DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::flush ( )
inlineoverrideinherited

◆ free()

virtual void dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::free ( )
inlineprotectedvirtualnoexceptinherited

◆ halt()

void dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::halt ( )
inlineoverrideprotectednoexceptinherited

◆ info()

void dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::info ( std::ostream< device_t, dx::midi::circular > & os)
inlineoverridenoexceptinherited

◆ initialize()

virtual DX_PRAGMA_IGNORE_RETURN_VALUE_END void dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::initialize ( )
inlinevirtualinherited

◆ launch()

void dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::launch ( )
inlineoverrideinherited

◆ operator dx::midi::circular *()

dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::operator dx::midi::circular * ( ) const
inlinenoexceptinherited

◆ operator->()

dx::midi::circular * dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::operator-> ( ) const
inlinenoexceptinherited

◆ submit()

virtual bool dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::submit ( dx::stream< device_t, dx::midi::circular >::encoder::index::type ,
unsigned int ,
uint8_t  )
inlinevirtualinherited

submit encoder stage to device return true if successfully submitted; if false is returned the encode state machine will not update the stage value (i.e. if the stage can't be submitted during streaming pause), given the chance to submit the stage at start().

Member Data Documentation

◆ [struct]

struct { ... } dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::cache
Todo
: stream::stream::cache needs to be made protected (coreaudio::device requires cache access)

◆ circular

dx::midi::circular* dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::circular
protectedinherited

◆ data

event_t dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::data[direction::directions]
inherited

event signalising data arrival(in) or draining(out)

◆ granularity

uint32_t dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::granularity
inherited

◆ id

const decltype(desc::target.idx()) dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::id
inherited

◆ latency

uint32_t dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::latency
inherited

◆ linesize

uint32_t dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::linesize
inherited

◆ monitor

dx::stream::clock::monitor* dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::monitor
inherited

◆ samplerate

decltype(device_t::samplerate) & dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::samplerate
inherited

◆ status

os_result dx::stream::stream< device_t, dx::midi::circular, control<object<device_t>>, event<kernel> >::status
inherited

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

(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.