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 #define IGN_CPPZMQ_POST_4_7_0
51 inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
77 #define ign_strcat strcat_s
78 #define ign_strcpy strcpy_s
79 #define ign_sprintf sprintf_s
80 #define ign_strdup _strdup
82 #define ign_strcat std::strcat
83 #define ign_strcpy std::strcpy
84 #define ign_sprintf std::sprintf
85 #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:54
bool env(const std::string &_name, std::string &_value)
Find the environment variable '_name' and return its value.