GNU Radio Manual and C++ API Reference  3.7.7
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tag_headers.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2014 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio.
6  *
7  * This is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3, or (at your option)
10  * any later version.
11  *
12  * This software is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this software; see the file COPYING. If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street,
20  * Boston, MA 02110-1301, USA.
21  */
22 
23 #ifndef ZEROMQ_TAG_HEADERS_H
24 #define ZEROMQ_TAG_HEADERS_H
25 
26 #include <gnuradio/io_signature.h>
27 #include <gnuradio/block.h>
28 #include <sstream>
29 #include <cstring>
30 
31 namespace gr {
32  namespace zeromq {
33 
34  std::string gen_tag_header(uint64_t &offset, std::vector<gr::tag_t> &tags);
35  std::string parse_tag_header(std::string &buf_in, uint64_t &offset_out, std::vector<gr::tag_t> &tags_out);
36 
37  } /* namespace zeromq */
38 } /* namespace gr */
39 
40 #endif /* ZEROMQ_TAG_HEADERS_H */
std::string gen_tag_header(uint64_t &offset, std::vector< gr::tag_t > &tags)
Include this header to use the message passing features.
Definition: logger.h:129
unsigned __int64 uint64_t
Definition: stdint.h:90
std::string parse_tag_header(std::string &buf_in, uint64_t &offset_out, std::vector< gr::tag_t > &tags_out)