zmqpp  4.1.2
C++ bindings for 0mq (libzmq)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
zmqpp::frame Class Reference

an internal frame wrapper for a single zmq message More...

#include <frame.hpp>

Public Member Functions

 frame ()
 
 frame (size_t const size)
 
 frame (void const *part, size_t const size)
 
 frame (void *part, size_t const size, zmq_free_fn *ffn, void *hint)
 
 ~frame ()
 
bool is_sent () const
 
void const * data () const
 
size_t size () const
 
void mark_sent ()
 
zmq_msg_t & msg ()
 
 frame (frame &&other)
 
frameoperator= (frame &&other)
 
frame copy () const
 

Private Member Functions

 frame (frame const &) NOEXCEPT ZMQPP_EXPLICITLY_DELETED
 
frameoperator= (frame const &) NOEXCEPT ZMQPP_EXPLICITLY_DELETED
 

Private Attributes

bool _sent
 
zmq_msg_t _msg
 

Detailed Description

an internal frame wrapper for a single zmq message

This frame wrapper consists of a zmq message and meta data it is used by the zmqpp message class to keep track of parts in the internal queue. It is unlikely you need to use this class.

Constructor & Destructor Documentation

zmqpp::frame::frame ( )
zmqpp::frame::frame ( size_t const  size)
zmqpp::frame::frame ( void const *  part,
size_t const  size 
)
zmqpp::frame::frame ( void *  part,
size_t const  size,
zmq_free_fn *  ffn,
void *  hint 
)
zmqpp::frame::~frame ( )
zmqpp::frame::frame ( frame &&  other)
zmqpp::frame::frame ( frame const &  )
private

Member Function Documentation

frame zmqpp::frame::copy ( ) const
void const* zmqpp::frame::data ( ) const
inline
bool zmqpp::frame::is_sent ( ) const
inline
void zmqpp::frame::mark_sent ( )
inline
zmq_msg_t& zmqpp::frame::msg ( )
inline
frame & zmqpp::frame::operator= ( frame &&  other)
frame& zmqpp::frame::operator= ( frame const &  )
private
size_t zmqpp::frame::size ( ) const
inline

Member Data Documentation

zmq_msg_t zmqpp::frame::_msg
private
bool zmqpp::frame::_sent
private

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