#include <ctcss_squelch_ff_impl.h>
|
typedef boost::shared_ptr
< ctcss_squelch_ff > | sptr |
|
static sptr | make (int rate, float freq, float level, int len, int ramp, bool gate) |
| Make CTCSS tone squelch block. More...
|
|
enum | vcolor { WHITE,
GREY,
BLACK
} |
|
std::vector< long > | d_max_output_buffer |
|
std::vector< long > | d_min_output_buffer |
|
gruel::mutex | d_setlock |
|
enum | { WORK_CALLED_PRODUCE = -2,
WORK_DONE = -1
} |
| Magic return values from general_work. More...
|
|
enum | tag_propagation_policy_t { TPP_DONT = 0,
TPP_ALL_TO_ALL = 1,
TPP_ONE_TO_ONE = 2
} |
|
| squelch_base_ff_impl (const char *name, int ramp, bool gate) |
|
| ~squelch_base_ff_impl () |
|
int | ramp () const |
|
void | set_ramp (int ramp) |
|
bool | gate () const |
|
void | set_gate (bool gate) |
|
bool | unmuted () const |
|
int | general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
| compute output items from input items More...
|
|
gr::analog::ctcss_squelch_ff_impl::ctcss_squelch_ff_impl |
( |
int |
rate, |
|
|
float |
freq, |
|
|
float |
level, |
|
|
int |
len, |
|
|
int |
ramp, |
|
|
bool |
gate |
|
) |
| |
gr::analog::ctcss_squelch_ff_impl::~ctcss_squelch_ff_impl |
( |
| ) |
|
bool gr::analog::ctcss_squelch_ff_impl::gate |
( |
| ) |
const |
|
inlinevirtual |
compute output items from input items
- Parameters
-
noutput_items | number of output items to write on each output stream |
ninput_items | number of input items available on each input stream |
input_items | vector of pointers to the input items, one entry per input stream |
output_items | vector of pointers to the output items, one entry per output stream |
- Returns
- number of items actually written to each output stream, or -1 on EOF. It is OK to return a value less than noutput_items. -1 <= return value <= noutput_items
general_work must call consume or consume_each to indicate how many items were consumed on each input stream.
Reimplemented from gr_block.
References gr::analog::squelch_base_ff_impl::general_work().
int gr::analog::ctcss_squelch_ff_impl::len |
( |
| ) |
const |
|
inlinevirtual |
float gr::analog::ctcss_squelch_ff_impl::level |
( |
| ) |
const |
|
inlinevirtual |
virtual bool gr::analog::ctcss_squelch_ff_impl::mute |
( |
| ) |
const |
|
inlineprotectedvirtual |
int gr::analog::ctcss_squelch_ff_impl::ramp |
( |
| ) |
const |
|
inlinevirtual |
void gr::analog::ctcss_squelch_ff_impl::set_gate |
( |
bool |
gate | ) |
|
|
inlinevirtual |
void gr::analog::ctcss_squelch_ff_impl::set_level |
( |
float |
level | ) |
|
|
inlinevirtual |
void gr::analog::ctcss_squelch_ff_impl::set_ramp |
( |
int |
ramp | ) |
|
|
inlinevirtual |
std::vector<float> gr::analog::ctcss_squelch_ff_impl::squelch_range |
( |
| ) |
const |
|
virtual |
bool gr::analog::ctcss_squelch_ff_impl::unmuted |
( |
| ) |
const |
|
inlinevirtual |
virtual void gr::analog::ctcss_squelch_ff_impl::update_state |
( |
const float & |
in | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: