libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
zmq::fq_t Class Reference

#include <fq.hpp>

Collaboration diagram for zmq::fq_t:

Public Member Functions

 fq_t ()
 
 ~fq_t ()
 
void activated (pipe_t *pipe_)
 
void attach (pipe_t *pipe_)
 
blob_t get_credential () const
 
bool has_in ()
 
void pipe_terminated (pipe_t *pipe_)
 
int recv (msg_t *msg_)
 
int recvpipe (msg_t *msg_, pipe_t **pipe_)
 

Private Types

typedef array_t< pipe_t, 1 > pipes_t
 

Private Member Functions

 fq_t (const fq_t &)
 
const fq_toperator= (const fq_t &)
 

Private Attributes

pipes_t::size_type active
 
pipes_t::size_type current
 
pipe_tlast_in
 
bool more
 
pipes_t pipes
 
blob_t saved_credential
 

Detailed Description

Definition at line 45 of file fq.hpp.

Member Typedef Documentation

typedef array_t<pipe_t, 1> zmq::fq_t::pipes_t
private

Definition at line 64 of file fq.hpp.

Constructor & Destructor Documentation

zmq::fq_t::fq_t ( )

Definition at line 36 of file fq.cpp.

zmq::fq_t::~fq_t ( )

Definition at line 44 of file fq.cpp.

References zmq::array_t< T, ID >::empty(), pipes, and zmq_assert.

Here is the call graph for this function:

zmq::fq_t::fq_t ( const fq_t )
private

Member Function Documentation

bool zmq::fq_t::has_in ( )

Definition at line 134 of file fq.cpp.

References active, current, more, pipes, and zmq::array_t< T, ID >::swap().

Referenced by zmq::gather_t::xhas_in(), zmq::pull_t::xhas_in(), zmq::server_t::xhas_in(), zmq::client_t::xhas_in(), and zmq::dealer_t::xhas_in().

Here is the call graph for this function:

Here is the caller graph for this function:

const fq_t& zmq::fq_t::operator= ( const fq_t )
private
int zmq::fq_t::recv ( msg_t msg_)

Definition at line 83 of file fq.cpp.

References recvpipe().

Referenced by zmq::xsub_t::xhas_in(), zmq::dish_t::xhas_in(), zmq::pull_t::xrecv(), zmq::xsub_t::xrecv(), and zmq::dish_t::xrecv().

Here is the call graph for this function:

Here is the caller graph for this function:

int zmq::fq_t::recvpipe ( msg_t msg_,
pipe_t **  pipe_ 
)

Member Data Documentation

pipes_t::size_type zmq::fq_t::active
private

Definition at line 69 of file fq.hpp.

Referenced by activated(), attach(), has_in(), pipe_terminated(), and recvpipe().

pipes_t::size_type zmq::fq_t::current
private

Definition at line 77 of file fq.hpp.

Referenced by has_in(), pipe_terminated(), and recvpipe().

pipe_t* zmq::fq_t::last_in
private

Definition at line 74 of file fq.hpp.

Referenced by get_credential(), pipe_terminated(), and recvpipe().

bool zmq::fq_t::more
private

Definition at line 81 of file fq.hpp.

Referenced by has_in(), and recvpipe().

pipes_t zmq::fq_t::pipes
private

Definition at line 65 of file fq.hpp.

Referenced by activated(), attach(), has_in(), pipe_terminated(), recvpipe(), and ~fq_t().

blob_t zmq::fq_t::saved_credential
private

Definition at line 84 of file fq.hpp.

Referenced by get_credential(), and pipe_terminated().