dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::service::client::chain< value_t, request_t, server_value_t > Class Template Reference

mirrors a host's promoted: a wish (assignment) or a question (first access) goes to the host as data, the requester commits the host's answer under its own lock; a message outside a request is the host's broadcast, committed on the pipe's thread under the promoted's lock More...

#include <dx_service_client_driver.h>

Inheritance diagram for dx::service::client::chain< value_t, request_t, server_value_t >:
Collaboration diagram for dx::service::client::chain< value_t, request_t, server_value_t >:

Public Member Functions

template<typename promoted_t>
 chain (dx::pipe< request_t > &pipe, promoted_t &promoted, enum class request_t::id id)

Public Attributes

decltype(promoted::serverserver

Protected Attributes

value_t answer
dx::event async
bool pending {}
 a request of this chain awaits its answer: the pipe's thread hands it to the requester, which holds the promoted's lock

Detailed Description

template<typename value_t, typename request_t, typename server_value_t = value_t>
class dx::service::client::chain< value_t, request_t, server_value_t >

mirrors a host's promoted: a wish (assignment) or a question (first access) goes to the host as data, the requester commits the host's answer under its own lock; a message outside a request is the host's broadcast, committed on the pipe's thread under the promoted's lock

Constructor & Destructor Documentation

◆ chain()

template<typename value_t, typename request_t, typename server_value_t = value_t>
template<typename promoted_t>
dx::service::client::chain< value_t, request_t, server_value_t >::chain ( dx::pipe< request_t > & pipe,
promoted_t & promoted,
enum class request_t::id id )
inline

Member Data Documentation

◆ answer

template<typename value_t, typename request_t, typename server_value_t = value_t>
value_t dx::service::client::chain< value_t, request_t, server_value_t >::answer
protected

◆ async

template<typename value_t, typename request_t, typename server_value_t = value_t>
dx::event dx::service::client::chain< value_t, request_t, server_value_t >::async
protected

◆ pending

template<typename value_t, typename request_t, typename server_value_t = value_t>
bool dx::service::client::chain< value_t, request_t, server_value_t >::pending {}
protected

a request of this chain awaits its answer: the pipe's thread hands it to the requester, which holds the promoted's lock

◆ server

template<typename _value_t>
decltype(promoted::server) dx::promoted< _value_t >::chain::server
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.