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

#include <dx_sync.h>

+ Inheritance diagram for dx::pipe< rcv_t >::server::instance:
+ Collaboration diagram for dx::pipe< rcv_t >::server::instance:

Protected Member Functions

 dx_catchall_rethrow (, "id:%s handle:%p", id.c_str(), handle) void free() noexcept override
 
 instance (const std::string &id, const ::DWORD(&access)[2]={PIPE_ACCESS_DUPLEX|FILE_FLAG_OVERLAPPED, PIPE_TYPE_MESSAGE|PIPE_READMODE_MESSAGE})
 
 instance (const std::string &id, decltype(listen)&&listen={}, const ::DWORD(&access)[2]={PIPE_ACCESS_DUPLEX|FILE_FLAG_OVERLAPPED, PIPE_TYPE_MESSAGE|PIPE_READMODE_MESSAGE})
 
 instance (const std::string &id, decltype(listen)::mapped_type &&listen, const ::DWORD(&access)[2]={PIPE_ACCESS_DUPLEX|FILE_FLAG_OVERLAPPED, PIPE_TYPE_MESSAGE|PIPE_READMODE_MESSAGE})
 
template<typename snd_t >
const snd_t & operator<< (const snd_t &snd)
 
void read (bool overlapped) noexcept override try
 
void run () try
 

Protected Attributes

dx_catchall() public promoted< bool > connected {false}
 
std::string id
 
dx::overlapped overlap
 
dx_catchall() public event< usersync
 
std::thread thread
 

Constructor & Destructor Documentation

◆ instance() [1/3]

template<typename rcv_t >
dx::pipe< rcv_t >::server::instance::instance ( const std::string & id,
decltype(listen)&& listen = {},
const ::DWORD(&) access[2] = {PIPE_ACCESS_DUPLEX| FILE_FLAG_OVERLAPPED, PIPE_TYPE_MESSAGE| PIPE_READMODE_MESSAGE} )
inlineprotected

◆ instance() [2/3]

template<typename rcv_t >
dx::pipe< rcv_t >::server::instance::instance ( const std::string & id,
decltype(listen)::mapped_type && listen,
const ::DWORD(&) access[2] = {PIPE_ACCESS_DUPLEX| FILE_FLAG_OVERLAPPED, PIPE_TYPE_MESSAGE| PIPE_READMODE_MESSAGE} )
inlineprotected

◆ instance() [3/3]

template<typename rcv_t >
dx::pipe< rcv_t >::server::instance::instance ( const std::string & id,
const ::DWORD(&) access[2] = {PIPE_ACCESS_DUPLEX| FILE_FLAG_OVERLAPPED, PIPE_TYPE_MESSAGE| PIPE_READMODE_MESSAGE} )
inlineprotected

Member Function Documentation

◆ dx_catchall_rethrow()

template<typename rcv_t >
dx::pipe< rcv_t >::dx_catchall_rethrow ( "id:%s handle:%p" ,
id. c_str(),
handle  )
inlineoverrideprotectednoexceptinherited

◆ operator<<()

template<typename rcv_t >
template<typename snd_t >
const snd_t & dx::pipe< rcv_t >::server::instance::operator<< ( const snd_t & snd)
inlineprotected

◆ read()

template<typename rcv_t >
void dx::pipe< rcv_t >::server::instance::read ( bool overlapped)
inlineoverrideprotectedvirtualnoexcept

Reimplemented from dx::pipe< rcv_t >.

◆ run()

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

Member Data Documentation

◆ connected

template<typename rcv_t >
dx_catchall () public promoted<bool> dx::pipe< rcv_t >::server::instance::connected {false}
protected

◆ id

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

◆ overlap

template<typename rcv_t >
dx::overlapped dx::pipe< rcv_t >::overlap
protectedinherited

◆ sync

template<typename rcv_t >
dx_catchall () public event<user> dx::pipe< rcv_t >::sync
protectedinherited

◆ thread

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

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

(c) copyright 2009 dynamic acoustics e.U. generated on Tue Mar 3 2026

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.