UMPS
The University of Utah Seismograph Stations Message Passing System.
context.hpp
1 #ifndef UMPS_MESSAGING_CONTEXT_HPP
2 #define UMPS_MESSAGING_CONTEXT_HPP
3 #include <memory>
4 #include <cstdint>
5 namespace UMPS::Messaging
6 {
11 class Context
12 {
13 public:
22  explicit Context(int nInputOutputThreads);
25 
27  [[nodiscard]] std::uintptr_t getContext() const;
28 private:
29  class ContextImpl;
30  std::unique_ptr<ContextImpl> pImpl;
31 };
32 }
33 #endif
This is a wrapper around the ZeroMQ context.
Definition: context.hpp:12
std::uintptr_t getContext() const
Context(int nInputOutputThreads)
Constructor.