Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
zmq::socket_t Class Reference

#include <zmq.hpp>

Inheritance diagram for zmq::socket_t:
Inheritance graph
[legend]

Public Member Functions

void close () ZMQ_NOTHROW
 
 operator socket_ref () ZMQ_NOTHROW
 
 operator void * () ZMQ_NOTHROW
 
 operator void const * () const ZMQ_NOTHROW
 
 socket_t () ZMQ_NOTHROW
 
 socket_t (context_t &context_, int type_)
 
void swap (socket_t &other) ZMQ_NOTHROW
 
 ~socket_t () ZMQ_NOTHROW
 
- Public Member Functions inherited from zmq::detail::socket_base
void bind (std::string const &addr)
 
void bind (const char *addr_)
 
void connect (std::string const &addr)
 
void connect (const char *addr_)
 
bool connected () const ZMQ_NOTHROW
 
void disconnect (std::string const &addr)
 
void disconnect (const char *addr_)
 
void getsockopt (int option_, void *optval_, size_t *optvallen_) const
 
template<typename T >
getsockopt (int option_) const
 
size_t send (const void *buf_, size_t len_, int flags_=0)
 
bool send (message_t &msg_, int flags_=0)
 
template<typename T >
void setsockopt (int option_, T const &optval)
 
void setsockopt (int option_, const void *optval_, size_t optvallen_)
 
 socket_base () ZMQ_NOTHROW
 
ZMQ_EXPLICIT socket_base (void *handle) ZMQ_NOTHROW
 
void unbind (std::string const &addr)
 
void unbind (const char *addr_)
 
template<typename T >
 ZMQ_CPP11_DEPRECATED ("from 4.4.1, use send taking message_t or buffer (for contiguous ""ranges), and send_flags") bool send(T first
 

Private Member Functions

void operator= (const socket_t &) ZMQ_DELETED_FUNCTION
 
 socket_t (const socket_t &) ZMQ_DELETED_FUNCTION
 
 socket_t (void *context_, int type_)
 

Private Attributes

void * ctxptr
 

Friends

class monitor_t
 

Additional Inherited Members

- Public Attributes inherited from zmq::detail::socket_base
T int flags_
 
last
 

Detailed Description

Definition at line 2124 of file zmq.hpp.

Constructor & Destructor Documentation

zmq::socket_t::socket_t ( )
inline

Definition at line 2129 of file zmq.hpp.

zmq::socket_t::socket_t ( context_t context_,
int  type_ 
)
inline

Definition at line 2131 of file zmq.hpp.

zmq::socket_t::~socket_t ( )
inline

Definition at line 2162 of file zmq.hpp.

zmq::socket_t::socket_t ( const socket_t )
private
zmq::socket_t::socket_t ( void *  context_,
int  type_ 
)
inlineprivate

Definition at line 2194 of file zmq.hpp.

Member Function Documentation

void zmq::socket_t::close ( )
inline

Definition at line 2168 of file zmq.hpp.

zmq::socket_t::operator socket_ref ( )
inline

Definition at line 2185 of file zmq.hpp.

zmq::socket_t::operator void * ( )
inline

Definition at line 2164 of file zmq.hpp.

zmq::socket_t::operator void const * ( ) const
inline

Definition at line 2166 of file zmq.hpp.

void zmq::socket_t::operator= ( const socket_t )
private
void zmq::socket_t::swap ( socket_t other)
inline

Definition at line 2179 of file zmq.hpp.

Friends And Related Function Documentation

friend class monitor_t
friend

Definition at line 2126 of file zmq.hpp.

Member Data Documentation

void* zmq::socket_t::ctxptr
private

Definition at line 2188 of file zmq.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:53