/* * Context.h * * Created on: Dec 5, 2012 * Author: dklein */ #ifndef CONTEXT_H_ #define CONTEXT_H_ #include #include namespace Highway { class Context { private: std::string fId; zmq::context_t* fContext; public: const static std::string PAYLOAD, LOG, CONFIG, CONTROL; Context(std::string deviceId, std::string contextId, int numIoThreads); virtual ~Context(); std::string GetId(); zmq::context_t* GetContext(); void Close(); }; } /* namespace Highway */ #endif /* CONTEXT_H_ */