5 madara::transport::ZMQContext madara::transport::zmq_context;
7 madara::transport::ZMQContext::ZMQContext ()
8 : context_ (0), references_ (0)
13 madara::transport::ZMQContext::set_context (
void * context)
16 "ZMQContext::set_context:" \
17 " setting the context\n");
22 "ZMQContext::set_context:" \
23 " context is different from new context. Destroying old context.\n");
28 "ZMQContext::set_context:" \
29 " updating context and reference count.\n");
35 "ZMQContext::set_context:" \
36 " result: context=%p, references=%d\n",
42 madara::transport::ZMQContext::add_ref (
void)
47 "ZMQContext::add_ref:" \
48 " context didn't exist. Creating new context.\n",
60 "ZMQContext::add_ref:" \
61 " result: context=%p, references=%d\n",
66 madara::transport::ZMQContext::rem_ref (
void)
71 "ZMQContext::rem_ref:" \
72 " removing reference from context.\n",
84 "ZMQContext::rem_ref:" \
85 " result: context=%p, references=%d\n",
90 madara::transport::ZMQContext::destroy_context (
void)
95 "ZMQContext::destroy_context:" \
96 " destroying context.\n",
108 madara::transport::ZMQContext::~ZMQContext ()
knowledge::ThreadSafeContext * context_
knowledge context
MADARA_Export utility::Refcounter< logger::Logger > global_logger
#define madara_logger_ptr_log(logger, level,...)
Fast version of the madara::logger::log method for Logger pointers.