gz/transport/Helpers.hh File Reference
#include <zmq.hpp>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <limits>
#include <string>
#include <vector>
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"
Go to the source code of this file.
Namespaces | |
gz | |
gz::transport | |
Macros | |
#define | GZ_CPPZMQ_POST_4_7_0 |
#define | gz_sprintf std::sprintf |
#define | gz_strcat std::strcat |
#define | gz_strcpy std::strcpy |
#define | gz_strdup strdup |
Functions | |
bool | env (const std::string &_name, std::string &_value) |
Find the environment variable '_name' and return its value. More... | |
unsigned int | getProcessId () |
Portable function to get the id of the current process. More... | |
std::vector< std::string > | split (const std::string &_orig, char _delim) |
split at a one character delimiter to get a vector of something More... | |
Variables | |
static const uint64_t | kUnthrottled = std::numeric_limits<uint64_t>::max() |
Constant used when not interested in throttling. More... | |
Macro Definition Documentation
◆ GZ_CPPZMQ_POST_4_7_0
#define GZ_CPPZMQ_POST_4_7_0 |
◆ gz_sprintf
#define gz_sprintf std::sprintf |
◆ gz_strcat
#define gz_strcat std::strcat |
◆ gz_strcpy
#define gz_strcpy std::strcpy |
◆ gz_strdup
#define gz_strdup strdup |