dxd - dynax driver framework 2.7.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t > Class Template Reference

#include <dx_stream_shared_stream.h>

Inheritance diagram for dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >:
Collaboration diagram for dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >:

Public Member Functions

 stream (device_t &device, const decltype(super::id)&id, const super::desc &desc)
 ~stream () override

Public Attributes

uint32_t latency {}
const std::string uid

Protected Types

typedef dx::shared::memory< circular_t > memory

Protected Member Functions

void alloc (size_t size=0, bool free=true) override
 dx_catchall () reference &initialize(const std
 releases this hold
 dx_catchall () reference &initialize(const std
 releases this hold
 dx_catchall_rethrow () virtual void free() noexcept
 dx_catchall_rethrow () virtual void free() noexcept
 dx_catchall_rethrow () virtual void free() noexcept
 dx_catchall_rethrow () virtual void free() noexcept
void free () noexcept override
 operator const os_event () const noexcept
 operator const os_event () const noexcept
 operator const os_event () const noexcept
 operator const os_event () const noexcept
 operator os_event () noexcept
 operator os_event () noexcept
 operator os_event () noexcept
 operator os_event () noexcept
 operator::HANDLE () const noexcept
 operator::HANDLE () const noexcept
 operator::HANDLE () const noexcept
 operator::HANDLE () const noexcept

Protected Attributes

bool joined
 true if initialize() found another holder already present, false if this was the first
bool joined {}
 true if initialize() found another holder already present, false if this was the first
::HANDLE process
::HANDLE process
::HANDLE process
::HANDLE process

Member Typedef Documentation

◆ memory

template<typename device_t, typename circular_t = dx::circular, typename super_stream_t = dx::stream::control<dx::stream::object<device_t>>, typename event_t = dx::shared::event>
typedef dx::shared::memory<circular_t> dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >::memory
protected

Constructor & Destructor Documentation

◆ stream()

template<typename device_t, typename circular_t = dx::circular, typename super_stream_t = dx::stream::control<dx::stream::object<device_t>>, typename event_t = dx::shared::event>
dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >::stream ( device_t & device,
const decltype(super::id)& id,
const super::desc & desc )
inline

◆ ~stream()

template<typename device_t, typename circular_t = dx::circular, typename super_stream_t = dx::stream::control<dx::stream::object<device_t>>, typename event_t = dx::shared::event>
dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >::~stream ( )
inlineoverride

Member Function Documentation

◆ alloc()

template<typename device_t, typename circular_t = dx::circular, typename super_stream_t = dx::stream::control<dx::stream::object<device_t>>, typename event_t = dx::shared::event>
void dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >::alloc ( size_t size = 0,
bool free = true )
inlineoverrideprotected

◆ dx_catchall() [1/2]

dx::shared::reference::dx_catchall ( ) const &
inlineinherited

releases this hold

Returns
true if this was the last holder of this name - i.e. no other process currently has it open, and cleanup guarded by this name is now safe

◆ dx_catchall() [2/2]

dx::shared::reference::dx_catchall ( ) const &
inlineinherited

releases this hold

Returns
true if this was the last holder of this name - i.e. no other process currently has it open, and cleanup guarded by this name is now safe
Here is the call graph for this function:

◆ dx_catchall_rethrow() [1/4]

dx::resource< invalid_t >::dx_catchall_rethrow ( )
inlinenoexceptinherited

◆ dx_catchall_rethrow() [2/4]

dx::resource< invalid_t >::dx_catchall_rethrow ( )
inlinenoexceptinherited

◆ dx_catchall_rethrow() [3/4]

dx::resource< invalid_t >::dx_catchall_rethrow ( )
inlinenoexceptinherited

◆ dx_catchall_rethrow() [4/4]

dx::resource< invalid_t >::dx_catchall_rethrow ( )
inlinenoexceptinherited

◆ free()

template<typename device_t, typename circular_t = dx::circular, typename super_stream_t = dx::stream::control<dx::stream::object<device_t>>, typename event_t = dx::shared::event>
void dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >::free ( )
inlineoverrideprotectednoexcept

◆ operator const os_event() [1/4]

dx::resource< invalid_t >::operator const os_event ( ) const
inlinenoexceptinherited

◆ operator const os_event() [2/4]

dx::resource< invalid_t >::operator const os_event ( ) const
inlinenoexceptinherited

◆ operator const os_event() [3/4]

dx::resource< invalid_t >::operator const os_event ( ) const
inlinenoexceptinherited

◆ operator const os_event() [4/4]

dx::resource< invalid_t >::operator const os_event ( ) const
inlinenoexceptinherited

◆ operator os_event() [1/4]

dx::resource< invalid_t >::operator os_event ( )
inlinenoexceptinherited

◆ operator os_event() [2/4]

dx::resource< invalid_t >::operator os_event ( )
inlinenoexceptinherited

◆ operator os_event() [3/4]

dx::resource< invalid_t >::operator os_event ( )
inlinenoexceptinherited

◆ operator os_event() [4/4]

dx::resource< invalid_t >::operator os_event ( )
inlinenoexceptinherited

◆ operator::HANDLE() [1/4]

dx::resource< invalid_t >::operator::HANDLE ( ) const
inlinenoexceptinherited

◆ operator::HANDLE() [2/4]

dx::resource< invalid_t >::operator::HANDLE ( ) const
inlinenoexceptinherited

◆ operator::HANDLE() [3/4]

dx::resource< invalid_t >::operator::HANDLE ( ) const
inlinenoexceptinherited

◆ operator::HANDLE() [4/4]

dx::resource< invalid_t >::operator::HANDLE ( ) const
inlinenoexceptinherited

Member Data Documentation

◆ joined [1/2]

true if initialize() found another holder already present, false if this was the first

◆ joined [2/2]

bool dx::shared::reference::joined {}
inherited

true if initialize() found another holder already present, false if this was the first

◆ latency

template<typename device_t, typename circular_t = dx::circular, typename super_stream_t = dx::stream::control<dx::stream::object<device_t>>, typename event_t = dx::shared::event>
uint32_t dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >::latency {}

◆ process [1/4]

::HANDLE dx::resource< invalid_t >::process
protectedinherited

◆ process [2/4]

::HANDLE dx::resource< invalid_t >::process
protectedinherited

◆ process [3/4]

::HANDLE dx::resource< invalid_t >::process
protectedinherited

◆ process [4/4]

::HANDLE dx::resource< invalid_t >::process
protectedinherited

◆ uid

template<typename device_t, typename circular_t = dx::circular, typename super_stream_t = dx::stream::control<dx::stream::object<device_t>>, typename event_t = dx::shared::event>
const std::string dx::stream::shared::stream< device_t, circular_t, super_stream_t, event_t >::uid

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.