hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
zhelpers.hpp File Reference
#include "zmq.hpp"
#include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
#include <sys/time.h>
#include <unistd.h>
#include <time.h>
#include <assert.h>
#include <pthread.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <signal.h>
Include dependency graph for zhelpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define within(num)   (int) ((float) (num) * random () / (RAND_MAX + 1.0))

Functions

std::string s_set_id (zmq::socket_t &socket)

Macro Definition Documentation

#define within (   num)    (int) ((float) (num) * random () / (RAND_MAX + 1.0))

Definition at line 54 of file zhelpers.hpp.

Function Documentation

std::string s_set_id ( zmq::socket_t socket)
inline

Definition at line 146 of file zhelpers.hpp.

Here is the call graph for this function: