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 (const char *addr_)
 
void bind (std::string const &addr)
 
void connect (const char *addr_)
 
void connect (std::string const &addr)
 
bool connected () const ZMQ_NOTHROW
 
void disconnect (const char *addr_)
 
void disconnect (std::string const &addr)
 
template<typename T >
getsockopt (int option_) const
 
void getsockopt (int option_, void *optval_, size_t *optvallen_) const
 
size_t send (const void *buf_, size_t len_, int flags_=0)
 
bool send (message_t &msg_, int flags_=0)
 
void setsockopt (int option_, const void *optval_, size_t optvallen_)
 
template<typename T >
void setsockopt (int option_, T const &optval)
 
 socket_base () ZMQ_NOTHROW
 
ZMQ_EXPLICIT socket_base (void *handle) ZMQ_NOTHROW
 
void unbind (const char *addr_)
 
void unbind (std::string const &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 2262 of file zmq.hpp.

Constructor & Destructor Documentation

◆ socket_t() [1/4]

zmq::socket_t::socket_t ( )
inline

Definition at line 2267 of file zmq.hpp.

◆ socket_t() [2/4]

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

Definition at line 2271 of file zmq.hpp.

◆ ~socket_t()

zmq::socket_t::~socket_t ( )
inline

Definition at line 2301 of file zmq.hpp.

◆ socket_t() [3/4]

zmq::socket_t::socket_t ( const socket_t )
private

◆ socket_t() [4/4]

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

Definition at line 2345 of file zmq.hpp.

Member Function Documentation

◆ close()

void zmq::socket_t::close ( )
inline

Definition at line 2316 of file zmq.hpp.

◆ operator socket_ref()

zmq::socket_t::operator socket_ref ( )
inline

Definition at line 2333 of file zmq.hpp.

◆ operator void *()

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

Definition at line 2306 of file zmq.hpp.

◆ operator void const *()

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

Definition at line 2311 of file zmq.hpp.

◆ operator=()

void zmq::socket_t::operator= ( const socket_t )
private

◆ swap()

void zmq::socket_t::swap ( socket_t other)
inline

Definition at line 2327 of file zmq.hpp.

Friends And Related Function Documentation

◆ monitor_t

friend class monitor_t
friend

Definition at line 2264 of file zmq.hpp.

Member Data Documentation

◆ ctxptr

void* zmq::socket_t::ctxptr
private

Definition at line 2339 of file zmq.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:54