Created
August 20, 2015 15:35
-
-
Save loganwashbourne/a93a156e4d89f628d0f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- c++ -*- */ | |
/* | |
* Copyright 2015 <+YOU OR YOUR COMPANY+>. | |
* | |
* 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_ACK_TEXT_SANITIZE_H | |
#define INCLUDED_ACK_TEXT_SANITIZE_H | |
#include <ACK/api.h> | |
#include <gnuradio/block.h> | |
namespace gr { | |
namespace ACK { | |
/*! | |
* \brief <+description of block+> | |
* \ingroup ACK | |
* | |
*/ | |
class ACK_API Text_Sanitize : virtual public gr::block | |
{ | |
public: | |
typedef boost::shared_ptr<Text_Sanitize> sptr; | |
/*! | |
* \brief Return a shared_ptr to a new instance of ACK::Text_Sanitize. | |
* | |
* To avoid accidental use of raw pointers, ACK::Text_Sanitize's | |
* constructor is in a private implementation | |
* class. ACK::Text_Sanitize::make is the public interface for | |
* creating new instances. | |
*/ | |
static sptr make(char* message); | |
}; | |
} // namespace ACK | |
} // namespace gr | |
#endif /* INCLUDED_ACK_TEXT_SANITIZE_H */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment