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
10
#include <
gnuradio/mixalot/api.h
>
11
#include <gnuradio/sync_block.h>
12
13
namespace
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
api.h
MIXALOT_API
#define MIXALOT_API
Definition
api.h:19
gr::mixalot::pocencode
<+description of block+>
Definition
pocencode.h:22
gr::mixalot::pocencode::make
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.
gr::mixalot::pocencode::sptr
std::shared_ptr< pocencode > sptr
Definition
pocencode.h:24
gr
Definition
flexencode.h:13
gr-mixalot-09112cbc764d2a622ec5d86e3f9c18e18449758e
include
gnuradio
mixalot
pocencode.h
Generated by
1.9.8