zmqpp
4.1.2
C++ bindings for 0mq (libzmq)
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
src
zmqpp
signal.hpp
Go to the documentation of this file.
1
/*
2
* This Source Code Form is subject to the terms of the Mozilla Public
3
* License, v. 2.0. If a copy of the MPL was not distributed with this
4
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
*
6
* This file is part of zmqpp.
7
* Copyright (c) 2011-2015 Contributors as noted in the AUTHORS file.
8
*/
9
10
#pragma once
11
12
#include <cstdint>
13
#include <iostream>
14
#include "
compatibility.hpp
"
15
16
namespace
zmqpp
17
{
18
23
ZMQPP_COMPARABLE_ENUM
signal
: int64_t
24
{
28
header
= 0x0077665544332211L,
32
ok
= (
header
<< 8) | 0x00,
36
ko
= (
header
<< 8) | 0x01,
40
stop
= (
header
<< 8) | 0x02,
41
42
test
= (
header
<< 8) | 0xFF
43
};
44
45
}
46
47
48
namespace
std
49
{
53
ostream &operator<<(ostream &s,
const
zmqpp::signal
&sig);
54
}
zmqpp::signal::header
Only 7 bytes matter here.
zmqpp::signal::test
zmqpp
C++ wrapper around zmq.
Definition:
actor.cpp:29
std
STL namespace.
zmqpp::signal::ok
Indicates a success.
zmqpp::signal::ko
Indicates an error.
zmqpp::signal
signal
Signal is a 8 bytes integer.
Definition:
signal.hpp:23
zmqpp::signal::stop
Indicates a request to stop.
compatibility.hpp
Generated on Wed Jun 17 2015 23:55:54 for zmqpp by
1.8.8