dxd - dynax driver framework 2.6.0d204
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::pipe< rcv_t > Class Template Reference

#include <dx_sync.h>

Inheritance diagram for dx::pipe< rcv_t >:
Collaboration diagram for dx::pipe< rcv_t >:

Classes

class  server

Protected Member Functions

 dx_catchall_rethrow (, "%s: handle:%x access:%x:%x:%x:%x", id.c_str(), handle, access[0], access[1], access[2], access[3]) void free() noexcept override
template<typename snd_t>
const snd_t & operator<< (const snd_t &snd)
 pipe (const std::string &id, decltype(listen)&&listen={}, const ::DWORD(&access)[4]={GENERIC_READ|GENERIC_WRITE, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED})
 pipe (const std::string &id, decltype(listen)::mapped_type &&listen, const ::DWORD(&access)[4]={GENERIC_READ|GENERIC_WRITE, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED})
virtual void read (bool overlapped) noexcept try
void run () try
::ULONG session () const
 ~pipe () override

Protected Attributes

::DWORD access [4] {}
std::string id
overlapped in
overlapped out
dx_catchall(, "%s: handle:%x", id.c_str(), handle) public event< usersync
std::thread thread

Constructor & Destructor Documentation

◆ pipe() [1/2]

template<typename rcv_t>
dx::pipe< rcv_t >::pipe ( const std::string & id,
decltype(listen)&& listen = {},
const ::DWORD(&) access[4] = {GENERIC_READ| GENERIC_WRITE, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED} )
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pipe() [2/2]

template<typename rcv_t>
dx::pipe< rcv_t >::pipe ( const std::string & id,
decltype(listen)::mapped_type && listen,
const ::DWORD(&) access[4] = {GENERIC_READ| GENERIC_WRITE, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED} )
inlineprotected

◆ ~pipe()

template<typename rcv_t>
dx::pipe< rcv_t >::~pipe ( )
inlineoverrideprotected

Member Function Documentation

◆ dx_catchall_rethrow()

template<typename rcv_t>
dx::pipe< rcv_t >::dx_catchall_rethrow ( "%s: handle:%x access:%x:%x:%x:%x" ,
id. c_str(),
handle ,
access [0],
access [1],
access [2],
access [3] )
inlineoverrideprotectednoexcept

◆ operator<<()

template<typename rcv_t>
template<typename snd_t>
const snd_t & dx::pipe< rcv_t >::operator<< ( const snd_t & snd)
inlineprotected
Here is the call graph for this function:

◆ read()

template<typename rcv_t>
virtual void dx::pipe< rcv_t >::read ( bool overlapped)
inlineprotectedvirtualnoexcept

Reimplemented in dx::pipe< rcv_t >::server::instance.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

template<typename rcv_t>
void dx::pipe< rcv_t >::run ( )
inlineprotected
Here is the call graph for this function:

◆ session()

template<typename rcv_t>
::ULONG dx::pipe< rcv_t >::session ( ) const
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ access

template<typename rcv_t>
::DWORD dx::pipe< rcv_t >::access[4] {}
protected

◆ id

template<typename rcv_t>
std::string dx::pipe< rcv_t >::id
protected

◆ in

template<typename rcv_t>
overlapped dx::pipe< rcv_t >::in
protected

◆ out

template<typename rcv_t>
overlapped dx::pipe< rcv_t >::out
protected

◆ sync

template<typename rcv_t>
dx_catchall (, "%s: handle:%x", id.c_str(), handle) public event<user> dx::pipe< rcv_t >::sync
protected

◆ thread

template<typename rcv_t>
std::thread dx::pipe< rcv_t >::thread
protected

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.