libzmq master
The Intelligent Transport Layer
Public Member Functions | Private Types | Private Member Functions | Private Attributes

zmq::lb_t Class Reference

#include <lb.hpp>

Collaboration diagram for zmq::lb_t:

List of all members.

Public Member Functions

 lb_t ()
 ~lb_t ()
void activated (pipe_t *pipe_)
void attach (pipe_t *pipe_)
bool has_out ()
int send (msg_t *msg_, int flags_)
void terminated (pipe_t *pipe_)

Private Types

typedef array_t< class pipe_t, 2 > pipes_t

Private Member Functions

 lb_t (const lb_t &)
const lb_toperator= (const lb_t &)

Private Attributes

pipes_t::size_type active
pipes_t::size_type current
bool dropping
bool more
pipes_t pipes

Detailed Description

Definition at line 34 of file lb.hpp.


Member Typedef Documentation

typedef array_t<class pipe_t, 2> zmq::lb_t::pipes_t [private]

Definition at line 51 of file lb.hpp.


Constructor & Destructor Documentation

zmq::lb_t::lb_t ( )

Definition at line 28 of file lb.cpp.

zmq::lb_t::~lb_t ( )

Definition at line 36 of file lb.cpp.

References zmq_assert.

zmq::lb_t::lb_t ( const lb_t ) [private]

Member Function Documentation

void zmq::lb_t::activated ( pipe_t pipe_)

Definition at line 67 of file lb.cpp.

void zmq::lb_t::attach ( pipe_t pipe_)

Definition at line 41 of file lb.cpp.

bool zmq::lb_t::has_out ( )

Definition at line 125 of file lb.cpp.

References zmq::msg_t::close(), errno_assert, and zmq::msg_t::init().

Here is the call graph for this function:

const lb_t& zmq::lb_t::operator= ( const lb_t ) [private]
int zmq::lb_t::send ( msg_t msg_,
int  flags_ 
)

Definition at line 74 of file lb.cpp.

References zmq::msg_t::close(), errno_assert, zmq::msg_t::flags, zmq::msg_t::init(), zmq::msg_t::more, and zmq_assert.

Here is the call graph for this function:

void zmq::lb_t::terminated ( pipe_t pipe_)

Definition at line 48 of file lb.cpp.


Member Data Documentation

Definition at line 56 of file lb.hpp.

Definition at line 59 of file lb.hpp.

bool zmq::lb_t::dropping [private]

Definition at line 65 of file lb.hpp.

bool zmq::lb_t::more [private]

Definition at line 62 of file lb.hpp.

Definition at line 52 of file lb.hpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines