GNU Radio's IEEE802_11 Package
constellations.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2016 Bastian Bloessl <bloessl@ccs-labs.org>
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef INCLUDED_IEEE802_11_CONSTELLATIONS_H
19#define INCLUDED_IEEE802_11_CONSTELLATIONS_H
20
21#include <gnuradio/digital/constellation.h>
22#include <ieee802_11/api.h>
23
24namespace gr {
25namespace ieee802_11 {
26
27class IEEE802_11_API constellation_bpsk : virtual public digital::constellation
28{
29public:
30 typedef std::shared_ptr<gr::ieee802_11::constellation_bpsk> sptr;
31 static sptr make();
32 sptr base() { return std::dynamic_pointer_cast<gr::ieee802_11::constellation_bpsk>(shared_from_this()); }
33
34protected:
36};
37
38class IEEE802_11_API constellation_qpsk : virtual public digital::constellation
39{
40public:
41 typedef std::shared_ptr<gr::ieee802_11::constellation_qpsk> sptr;
42 static sptr make();
43 sptr base() { return std::dynamic_pointer_cast<gr::ieee802_11::constellation_qpsk>(shared_from_this()); }
44
45protected:
47};
48
49class IEEE802_11_API constellation_16qam : virtual public digital::constellation
50{
51public:
52 typedef std::shared_ptr<gr::ieee802_11::constellation_16qam> sptr;
53 static sptr make();
54 sptr base() { return std::dynamic_pointer_cast<gr::ieee802_11::constellation_16qam>(shared_from_this()); }
55
56protected:
58};
59
60class IEEE802_11_API constellation_64qam : virtual public digital::constellation
61{
62public:
63 typedef std::shared_ptr<gr::ieee802_11::constellation_64qam> sptr;
64 static sptr make();
65 sptr base() { return std::dynamic_pointer_cast<gr::ieee802_11::constellation_64qam>(shared_from_this()); }
66
67protected:
69};
70
71} // namespace ieee802_11
72} // namespace gr
73
74#endif /* INCLUDED_IEEE802_11_CONSTELLATIONS_H */
#define IEEE802_11_API
Definition api.h:19
std::shared_ptr< gr::ieee802_11::constellation_16qam > sptr
Definition constellations.h:52
sptr base()
Definition constellations.h:54
sptr base()
Definition constellations.h:65
std::shared_ptr< gr::ieee802_11::constellation_64qam > sptr
Definition constellations.h:63
sptr base()
Definition constellations.h:32
std::shared_ptr< gr::ieee802_11::constellation_bpsk > sptr
Definition constellations.h:30
sptr base()
Definition constellations.h:43
std::shared_ptr< gr::ieee802_11::constellation_qpsk > sptr
Definition constellations.h:41
Definition chunks_to_symbols.h:24
Definition chunks_to_symbols.h:23