Ignition Transport

API Reference

8.1.0
Helpers.hh File Reference
#include <zmq.hpp>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <limits>
#include <string>
#include <vector>
#include "ignition/transport/config.hh"
#include "ignition/transport/Export.hh"

Go to the source code of this file.

Namespaces

 ignition
 
 ignition::transport
 

Macros

#define IGN_CPPZMQ_POST_4_7_0
 
#define ign_sprintf   std::sprintf
 
#define ign_strcat   std::strcat
 
#define ign_strcpy   std::strcpy
 
#define ign_strdup   strdup
 
#define IGN_ZMQ_POST_4_3_1
 

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::stringsplit (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

◆ IGN_CPPZMQ_POST_4_7_0

#define IGN_CPPZMQ_POST_4_7_0

◆ ign_sprintf

#define ign_sprintf   std::sprintf

◆ ign_strcat

#define ign_strcat   std::strcat

◆ ign_strcpy

#define ign_strcpy   std::strcpy

◆ ign_strdup

#define ign_strdup   strdup

◆ IGN_ZMQ_POST_4_3_1

#define IGN_ZMQ_POST_4_3_1