dxd - dynax driver framework 2.6.0d201
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 (, "id:%s handle:%p", id.c_str(), handle) void free() noexcept override
 
template<typename snd_t >
const snd_t & operator<< (const snd_t &snd)
 
 pipe (const std::string &id, decltype(listen)&&listen={})
 
 pipe (const std::string &id, decltype(listen)::mapped_type &&listen)
 
virtual void read (bool overlapped) noexcept try
 
void run () try
 
 ~pipe () override
 

Protected Attributes

std::string id
 
dx::overlapped overlap
 
dx_catchall() 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 = {} )
inlineprotected

◆ pipe() [2/2]

template<typename rcv_t >
dx::pipe< rcv_t >::pipe ( const std::string & id,
decltype(listen)::mapped_type && listen )
inlineprotected

◆ ~pipe()

template<typename rcv_t >
dx::pipe< rcv_t >::~pipe ( )
inlineoverrideprotected
+ Here is the call graph for this function:

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  )
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:

◆ run()

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

Member Data Documentation

◆ id

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

◆ overlap

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

◆ sync

template<typename rcv_t >
dx_catchall () 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 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.