Go to the documentation of this file.
18 #ifndef GZ_TRANSPORT_HELPERS_HH_
19 #define GZ_TRANSPORT_HELPERS_HH_
30 #include "gz/transport/config.hh"
31 #include "gz/transport/Export.hh"
34 #if ZMQ_VERSION > ZMQ_MAKE_VERSION(4, 3, 1)
35 #define IGN_ZMQ_POST_4_3_1
39 #if CPPZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 7, 0)
42 #if !defined(UBUNTU_FOCAL) && !defined(DEBIAN_BULLSEYE)
43 #define IGN_CPPZMQ_POST_4_7_0
52 inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
78 #define ign_strcat strcat_s
79 #define ign_strcpy strcpy_s
80 #define ign_sprintf sprintf_s
81 #define ign_strdup _strdup
83 #define ign_strcat std::strcat
84 #define ign_strcpy std::strcpy
85 #define ign_sprintf std::sprintf
86 #define ign_strdup strdup
Definition: gz/transport/AdvertiseOptions.hh:28
std::vector< std::string > split(const std::string &_orig, char _delim)
split at a one character delimiter to get a vector of something
unsigned int getProcessId()
Portable function to get the id of the current process.
static const uint64_t kUnthrottled
Constant used when not interested in throttling.
Definition: gz/transport/Helpers.hh:55
bool env(const std::string &_name, std::string &_value)
Find the environment variable '_name' and return its value.