GNU Radio's MIXALOT Package
pocencode.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_POCENCODE_H
8#define INCLUDED_MIXALOT_POCENCODE_H
9
11#include <gnuradio/sync_block.h>
12
13namespace gr {
14 namespace mixalot {
15
16 /*!
17 * \brief <+description of block+>
18 * \ingroup mixalot
19 *
20 */
21 class MIXALOT_API pocencode : virtual public gr::sync_block
22 {
23 public:
24 typedef std::shared_ptr<pocencode> sptr;
25 typedef enum { Numeric = 0, Alpha = 1 } msgtype_t;
26
27 /*!
28 * \brief Return a shared_ptr to a new instance of mixalot::pocencode.
29 *
30 * To avoid accidental use of raw pointers, mixalot::pocencode's
31 * constructor is in a private implementation
32 * class. mixalot::pocencode::make is the public interface for
33 * creating new instances.
34 */
35 static sptr make(int type=0, unsigned int baudrate = 1200, unsigned int capcode = 0, std::string message="", unsigned long symrate = 38400);
36 };
37
38 } // namespace mixalot
39} // namespace gr
40
41#endif /* INCLUDED_MIXALOT_POCENCODE_H */
42
#define MIXALOT_API
Definition api.h:19
<+description of block+>
Definition pocencode.h:22
static sptr make(int type=0, unsigned int baudrate=1200, unsigned int capcode=0, std::string message="", unsigned long symrate=38400)
Return a shared_ptr to a new instance of mixalot::pocencode.
std::shared_ptr< pocencode > sptr
Definition pocencode.h:24
Definition flexencode.h:13