zmqpp 4.1.2
C++ bindings for 0mq (libzmq)
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

zmq_msg_t _msg
 
bool _sent
 

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

◆ frame() [1/6]

zmqpp::frame::frame ( )

◆ frame() [2/6]

zmqpp::frame::frame ( size_t const  size)

◆ frame() [3/6]

zmqpp::frame::frame ( void const *  part,
size_t const  size 
)

◆ frame() [4/6]

zmqpp::frame::frame ( void *  part,
size_t const  size,
zmq_free_fn *  ffn,
void *  hint 
)

◆ ~frame()

zmqpp::frame::~frame ( )

◆ frame() [5/6]

zmqpp::frame::frame ( frame &&  other)

◆ frame() [6/6]

zmqpp::frame::frame ( frame const &  )
private

Member Function Documentation

◆ copy()

frame zmqpp::frame::copy ( ) const

◆ data()

void const * zmqpp::frame::data ( ) const
inline

◆ is_sent()

bool zmqpp::frame::is_sent ( ) const
inline

◆ mark_sent()

void zmqpp::frame::mark_sent ( )
inline

◆ msg()

zmq_msg_t & zmqpp::frame::msg ( )
inline

◆ operator=() [1/2]

frame & zmqpp::frame::operator= ( frame &&  other)

◆ operator=() [2/2]

frame & zmqpp::frame::operator= ( frame const &  )
private

◆ size()

size_t zmqpp::frame::size ( ) const
inline

Member Data Documentation

◆ _msg

zmq_msg_t zmqpp::frame::_msg
private

◆ _sent

bool zmqpp::frame::_sent
private

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