libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
precompiled.hpp File Reference
#include "platform.hpp"
#include "../include/zmq.h"
Include dependency graph for precompiled.hpp:

Go to the source code of this file.

Classes

struct  zmq_poller_event_t
 

Macros

#define ZMQ_CLIENT   13
 
#define ZMQ_DISH   15
 
#define ZMQ_GATHER   16
 
#define ZMQ_HAVE_POLLER
 
#define ZMQ_HAVE_TIMERS
 
#define ZMQ_RADIO   14
 
#define ZMQ_SCATTER   17
 
#define ZMQ_SERVER   12
 

Typedefs

typedef struct zmq_poller_event_t zmq_poller_event_t
 
typedef void( zmq_timer_fn) (int timer_id, void *arg)
 

Functions

int zmq_join (void *s, const char *group)
 
int zmq_leave (void *s, const char *group)
 
const char * zmq_msg_group (zmq_msg_t *msg)
 
uint32_t zmq_msg_routing_id (zmq_msg_t *msg)
 
int zmq_msg_set_group (zmq_msg_t *msg, const char *group)
 
int zmq_msg_set_routing_id (zmq_msg_t *msg, uint32_t routing_id)
 
int zmq_poller_add (void *poller, void *socket, void *user_data, short events)
 
int zmq_poller_add_fd (void *poller, int fd, void *user_data, short events)
 
int zmq_poller_destroy (void **poller_p)
 
int zmq_poller_modify (void *poller, void *socket, short events)
 
int zmq_poller_modify_fd (void *poller, int fd, short events)
 
void * zmq_poller_new (void)
 
int zmq_poller_remove (void *poller, void *socket)
 
int zmq_poller_remove_fd (void *poller, int fd)
 
int zmq_poller_wait (void *poller, zmq_poller_event_t *event, long timeout)
 
int zmq_timers_add (void *timers, size_t interval, zmq_timer_fn handler, void *arg)
 
int zmq_timers_cancel (void *timers, int timer_id)
 
int zmq_timers_destroy (void **timers_p)
 
int zmq_timers_execute (void *timers)
 
void * zmq_timers_new (void)
 
int zmq_timers_reset (void *timers, int timer_id)
 
int zmq_timers_set_interval (void *timers, int timer_id, size_t interval)
 
long zmq_timers_timeout (void *timers)
 

Macro Definition Documentation

#define ZMQ_HAVE_POLLER

Definition at line 177 of file precompiled.hpp.

#define ZMQ_HAVE_TIMERS

Definition at line 212 of file precompiled.hpp.

Typedef Documentation

typedef void( zmq_timer_fn) (int timer_id, void *arg)

Definition at line 214 of file precompiled.hpp.

Function Documentation

int zmq_join ( void *  s,
const char *  group 
)

Definition at line 299 of file zmq.cpp.

References ENOTSOCK, and zmq::socket_base_t::join().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int zmq_leave ( void *  s,
const char *  group 
)

Definition at line 310 of file zmq.cpp.

References ENOTSOCK, and zmq::socket_base_t::leave().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

const char* zmq_msg_group ( zmq_msg_t msg)

Definition at line 725 of file zmq.cpp.

Referenced by msg_recv_cmp().

Here is the caller graph for this function:

uint32_t zmq_msg_routing_id ( zmq_msg_t msg)

Definition at line 715 of file zmq.cpp.

Referenced by main(), and test_client_server().

Here is the caller graph for this function:

int zmq_msg_set_group ( zmq_msg_t msg,
const char *  group 
)

Definition at line 720 of file zmq.cpp.

Referenced by msg_send().

Here is the caller graph for this function:

int zmq_msg_set_routing_id ( zmq_msg_t msg,
uint32_t  routing_id 
)

Definition at line 710 of file zmq.cpp.

Referenced by main(), and test_client_server().

Here is the caller graph for this function:

int zmq_poller_add ( void *  poller,
void *  socket,
void *  user_data,
short  events 
)

Definition at line 1124 of file zmq.cpp.

References ENOTSOCK, and zmq_poller_add_fd().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int zmq_poller_add_fd ( void *  poller,
int  fd,
void *  user_data,
short  events 
)

Definition at line 1143 of file zmq.cpp.

Referenced by main(), and zmq_poller_add().

Here is the caller graph for this function:

int zmq_poller_destroy ( void **  poller_p)

Definition at line 1111 of file zmq.cpp.

Referenced by main().

Here is the caller graph for this function:

int zmq_poller_modify ( void *  poller,
void *  socket,
short  events 
)

Definition at line 1155 of file zmq.cpp.

References ENOTSOCK, and zmq_poller_modify_fd().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int zmq_poller_modify_fd ( void *  poller,
int  fd,
short  events 
)

Definition at line 1175 of file zmq.cpp.

Referenced by zmq_poller_modify().

Here is the caller graph for this function:

void* zmq_poller_new ( void  )

Definition at line 1104 of file zmq.cpp.

References alloc_assert.

Referenced by main().

Here is the caller graph for this function:

int zmq_poller_remove ( void *  poller,
void *  socket 
)

Definition at line 1187 of file zmq.cpp.

References ENOTSOCK, and zmq_poller_remove_fd().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

int zmq_poller_remove_fd ( void *  poller,
int  fd 
)

Definition at line 1206 of file zmq.cpp.

Referenced by main(), and zmq_poller_remove().

Here is the caller graph for this function:

int zmq_poller_wait ( void *  poller,
zmq_poller_event_t event,
long  timeout 
)

Definition at line 1218 of file zmq.cpp.

References zmq::socket_poller_t::event_t::events, zmq::socket_poller_t::event_t::fd, zmq::socket_poller_t::event_t::socket, zmq::socket_poller_t::event_t::user_data, and zmq_assert.

Referenced by main().

Here is the caller graph for this function:

int zmq_timers_add ( void *  timers,
size_t  interval,
zmq_timer_fn  handler,
void *  arg 
)

Definition at line 1261 of file zmq.cpp.

Referenced by main().

Here is the caller graph for this function:

int zmq_timers_cancel ( void *  timers,
int  timer_id 
)

Definition at line 1271 of file zmq.cpp.

Referenced by main().

Here is the caller graph for this function:

int zmq_timers_destroy ( void **  timers_p)

Definition at line 1249 of file zmq.cpp.

Referenced by main().

Here is the caller graph for this function:

int zmq_timers_execute ( void *  timers)

Definition at line 1311 of file zmq.cpp.

Referenced by main(), and sleep_and_execute().

Here is the caller graph for this function:

void* zmq_timers_new ( void  )

Definition at line 1242 of file zmq.cpp.

References alloc_assert.

Referenced by main().

Here is the caller graph for this function:

int zmq_timers_reset ( void *  timers,
int  timer_id 
)

Definition at line 1291 of file zmq.cpp.

Referenced by main().

Here is the caller graph for this function:

int zmq_timers_set_interval ( void *  timers,
int  timer_id,
size_t  interval 
)

Definition at line 1281 of file zmq.cpp.

Referenced by main().

Here is the caller graph for this function:

long zmq_timers_timeout ( void *  timers)

Definition at line 1301 of file zmq.cpp.

Referenced by main(), and sleep_and_execute().

Here is the caller graph for this function: