port build system

This commit is contained in:
Bastian Bloessl
2021-07-19 09:14:24 +02:00
parent 484f8ea48a
commit eeca8906ba
48 changed files with 12835 additions and 317 deletions
+15 -25
View File
@@ -1,35 +1,25 @@
# Copyright 2011,2012 Free Software Foundation, Inc.
#
# This file is part of gr-foo
# This file was generated by gr_modtool, a tool from the GNU Radio framework
# This file is a part of gr-foo
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# SPDX-License-Identifier: GPL-3.0-or-later
#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
########################################################################
# Install public header files
########################################################################
install(FILES
api.h
burst_tagger.h
channel_model.h
packet_dropper.h
packet_pad.h
packet_pad2.h
periodic_msg_source.h
random_periodic_msg_source.h
rtt_measure.h
wireshark_connector.h
pad_tagged_stream.h DESTINATION include/foo
api.h
burst_tagger.h
channel_model.h
packet_dropper.h
packet_pad.h
packet_pad2.h
periodic_msg_source.h
random_periodic_msg_source.h
rtt_measure.h
wireshark_connector.h
pad_tagged_stream.h
DESTINATION include/foo
)
+5 -16
View File
@@ -1,22 +1,11 @@
/*
* Copyright 2011 Free Software Foundation, Inc.
*
* This file is part of gr-foo
* This file was generated by gr_modtool, a tool from the GNU Radio framework
* This file is a part of gr-foo
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
* SPDX-License-Identifier: GPL-3.0-or-later
*
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_FOO_API_H
@@ -25,9 +14,9 @@
#include <gnuradio/attributes.h>
#ifdef gnuradio_foo_EXPORTS
# define FOO_API __GR_ATTR_EXPORT
#define FOO_API __GR_ATTR_EXPORT
#else
# define FOO_API __GR_ATTR_IMPORT
#define FOO_API __GR_ATTR_IMPORT
#endif
#endif /* INCLUDED_FOO_API_H */
+1 -1
View File
@@ -29,7 +29,7 @@ namespace foo {
class FOO_API burst_tagger : virtual public gr::sync_block {
public:
typedef boost::shared_ptr<burst_tagger> sptr;
typedef std::shared_ptr<burst_tagger> sptr;
static sptr make(pmt::pmt_t tag_name, unsigned int mult);
};
+1 -1
View File
@@ -27,7 +27,7 @@ namespace foo {
class FOO_API channel_model : virtual public hier_block2
{
public:
typedef boost::shared_ptr<channel_model> sptr;
typedef std::shared_ptr<channel_model> sptr;
static sptr make(double noise_voltage = 0.0, double frequency_offset = 0.0,
double epsilon = 1.0,
+1 -1
View File
@@ -26,7 +26,7 @@ namespace foo {
class FOO_API packet_dropper : virtual public gr::block
{
public:
typedef boost::shared_ptr<packet_dropper> sptr;
typedef std::shared_ptr<packet_dropper> sptr;
static sptr make(double drop_rate, unsigned long seed);
};
} // namespace foo
+1 -1
View File
@@ -27,7 +27,7 @@ class FOO_API packet_pad : virtual public gr::block
{
public:
typedef boost::shared_ptr<packet_pad> sptr;
typedef std::shared_ptr<packet_pad> sptr;
static sptr make(bool debug = false, bool delay=false, double delay_sec=0.01, unsigned int pad_front = 0, unsigned int pad_tail = 0);
};
+1 -1
View File
@@ -27,7 +27,7 @@ class FOO_API packet_pad2 : virtual public gr::tagged_stream_block
{
public:
typedef boost::shared_ptr<packet_pad2> sptr;
typedef std::shared_ptr<packet_pad2> sptr;
static sptr make(bool debug = false, bool delay=false, double delay_sec=0.01, unsigned int pad_front = 0, unsigned int pad_tail = 0);
};
+1 -1
View File
@@ -35,7 +35,7 @@ namespace gr {
class FOO_API pad_tagged_stream : virtual public gr::tagged_stream_block
{
public:
typedef boost::shared_ptr<pad_tagged_stream> sptr;
typedef std::shared_ptr<pad_tagged_stream> sptr;
/*!
* \brief Return a shared_ptr to a new instance of foo::pad_tagged_stream.
+1 -1
View File
@@ -27,7 +27,7 @@ class FOO_API periodic_msg_source : virtual public gr::block
{
public:
typedef boost::shared_ptr<periodic_msg_source> sptr;
typedef std::shared_ptr<periodic_msg_source> sptr;
static sptr make(pmt::pmt_t msg, long interval, int num_msg = -1,
bool quit = true, bool debug = false);
+1 -1
View File
@@ -28,7 +28,7 @@ class FOO_API random_periodic_msg_source : virtual public gr::block
{
public:
typedef boost::shared_ptr<random_periodic_msg_source> sptr;
typedef std::shared_ptr<random_periodic_msg_source> sptr;
static sptr make(int msg_len, long interval, int num_msg = 1,
bool quit = true, bool debug = false, int seed = 0);
+1 -1
View File
@@ -27,7 +27,7 @@ namespace foo {
class FOO_API rtt_measure : virtual public gr::block
{
public:
typedef boost::shared_ptr<rtt_measure> sptr;
typedef std::shared_ptr<rtt_measure> sptr;
static sptr make(unsigned long interval);
};
} // namespace foo
+1 -1
View File
@@ -32,7 +32,7 @@ class FOO_API wireshark_connector : virtual public gr::block
{
public:
typedef boost::shared_ptr<wireshark_connector> sptr;
typedef std::shared_ptr<wireshark_connector> sptr;
static sptr make(LinkType type, bool debug= false);
};