GNU Radio's MIXALOT Package
gscencode.h
Go to the documentation of this file.
1/* Written by Brandon Creighton <cstone@pobox.com>.
2 *
3 * This code is in the public domain; however, note that most of its
4 * dependent code, including GNU Radio, is not.
5 */
6
7#ifndef INCLUDED_MIXALOT_GSCENCODE_H
8#define INCLUDED_MIXALOT_GSCENCODE_H
9
11#ifdef GR_OLD
12#include <gr_sync_block.h>
13#else
14#include <gnuradio/sync_block.h>
15#endif
16
17namespace gr {
18 namespace mixalot {
19 class MIXALOT_API gscencode : virtual public sync_block
20 {
21 public:
22 typedef std::shared_ptr<gscencode> sptr;
23 typedef enum { Numeric = 0, Alpha = 1 } msgtype_t;
24
25 static sptr make(int type=0, unsigned int capcode = 0, std::string message="", unsigned long symrate = 38400);
26 };
27
28 } // namespace mixalot
29} // namespace gr
30
31#endif /* INCLUDED_MIXALOT_GSCENCODE_H */
32
#define MIXALOT_API
Definition api.h:19
Definition gscencode.h:20
std::shared_ptr< gscencode > sptr
Definition gscencode.h:22
static sptr make(int type=0, unsigned int capcode=0, std::string message="", unsigned long symrate=38400)
Definition flexencode.h:13