change name to gr-foo

This commit is contained in:
Bastian Bloessl
2013-06-05 06:44:42 +02:00
parent 486cb0a50e
commit 3006afc700
37 changed files with 166 additions and 166 deletions
+33
View File
@@ -0,0 +1,33 @@
# Copyright 2011,2012 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# 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.
#
# 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
packet_dropper.h
packet_pad.h
pdu_to_blob.h
periodic_msg_source.h
string_to_blob.h
wireshark_connector.h
DESTINATION include/foo
)
+33
View File
@@ -0,0 +1,33 @@
/*
* Copyright 2011 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* 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.
*
* 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
#define INCLUDED_FOO_API_H
#include <gnuradio/attributes.h>
#ifdef gnuradio_foo_EXPORTS
# define FOO_API __GR_ATTR_EXPORT
#else
# define FOO_API __GR_ATTR_IMPORT
#endif
#endif /* INCLUDED_FOO_API_H */
+41
View File
@@ -0,0 +1,41 @@
/*
* Copyright 2013 Bastian Bloessl<bloessl@ccs-labs.org>.
*
* This 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.
*
* This software 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 this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_FOO_BURST_TAGGER_H
#define INCLUDED_FOO_BURST_TAGGER_H
#include <foo/api.h>
#include <gnuradio/sync_block.h>
namespace gr {
namespace foo {
class FOO_API burst_tagger : virtual public gr::sync_block {
public:
typedef boost::shared_ptr<burst_tagger> sptr;
static sptr make(pmt::pmt_t tag_name);
};
} // namespace foo
} // namespace gr
#endif /* INCLUDED_FOO_BURST_TAGGER_H */
+35
View File
@@ -0,0 +1,35 @@
/*
* Copyright (C) 2013 Christoph Leitner <c.leitner@student.uibk.ac.at>
*
* This program 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 of the License, or
* (at your option) any later version.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_GR_FOO_PACKET_DROPPER_H
#define INCLUDED_GR_FOO_PACKET_DROPPER_H
#include <foo/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace foo {
class FOO_API packet_dropper : virtual public gr::block
{
public:
typedef boost::shared_ptr<packet_dropper> sptr;
static sptr make(double drop_rate, unsigned long seed);
};
} // namespace foo
} // namespace gr
#endif /* INCLUDED_GR_FOO_PACKET_DROPPER_H */
+38
View File
@@ -0,0 +1,38 @@
/*
* Copyright (C) 2013 Bastian Bloessl <bloessl@ccs-labs.org>
*
* This program 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 of the License, or
* (at your option) any later version.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_FOO_PACKET_PAD_H
#define INCLUDED_FOO_PACKET_PAD_H
#include <foo/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace foo {
class FOO_API packet_pad : virtual public gr::block
{
public:
typedef boost::shared_ptr<packet_pad> sptr;
static sptr make(bool debug = false, int pad_front = 0, int pad_tail = 0);
};
} // namespace foo
} // namespace gr
#endif /* INCLUDED_FOO_PACKET_PAD_H */
+38
View File
@@ -0,0 +1,38 @@
/*
* Copyright (C) 2013 Bastian Bloessl <bloessl@ccs-labs.org>
*
* This program 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 of the License, or
* (at your option) any later version.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_FOO_PDU_TO_BLOB_H
#define INCLUDED_FOO_PDU_TO_BLOB_H
#include <foo/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace foo {
class FOO_API pdu_to_blob : virtual public gr::block
{
public:
typedef boost::shared_ptr<pdu_to_blob> sptr;
static sptr make();
};
} // namespace foo
} // namespace gr
#endif /* INCLUDED_FOO_PDU_TO_BLOB_H */
+38
View File
@@ -0,0 +1,38 @@
/*
* Copyright (C) 2013 Bastian Bloessl <bloessl@ccs-labs.org>
*
* This program 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 of the License, or
* (at your option) any later version.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_FOO_PERIODIC_MSG_SOURCE_H
#define INCLUDED_FOO_PERIODIC_MSG_SOURCE_H
#include <foo/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace foo {
class FOO_API periodic_msg_source : virtual public gr::block
{
public:
typedef boost::shared_ptr<periodic_msg_source> sptr;
static sptr make(pmt::pmt_t msg, float interval, int num_msg = -1, bool debug = false);
};
} // namespace foo
} // namespace gr
#endif /* INCLUDED_FOO_PERIODIC_MSG_SOURCE */
+38
View File
@@ -0,0 +1,38 @@
/*
* Copyright (C) 2013 Bastian Bloessl <bloessl@ccs-labs.org>
*
* This program 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 of the License, or
* (at your option) any later version.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_FOO_STRING_TO_BLOB_H
#define INCLUDED_FOO_STRING_TO_BLOB_H
#include <foo/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace foo {
class FOO_API string_to_blob : virtual public gr::block
{
public:
typedef boost::shared_ptr<string_to_blob> sptr;
static sptr make();
};
} // namespace foo
} // namespace gr
#endif /* INCLUDED_FOO_STRING_TO_BLOB_H */
+37
View File
@@ -0,0 +1,37 @@
/*
* Copyright (C) 2013 Bastian Bloessl <bloessl@ccs-labs.org>
*
* This program 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 of the License, or
* (at your option) any later version.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_GR_FOO_WIRESHARK_CONNECTOR_H
#define INCLUDED_GR_FOO_WIRESHARK_CONNECTOR_H
#include <foo/api.h>
#include <gnuradio/block.h>
namespace gr {
namespace foo {
class FOO_API wireshark_connector : virtual public gr::block
{
public:
typedef boost::shared_ptr<wireshark_connector> sptr;
static sptr make(bool debug= false);
};
} // namespace foo
} // namespace gr
#endif /* INCLUDED_GR_FOO_WIRESHARK_CONNECTOR_H */