GNU Radio 2.x: gr_threshold_ff Class Reference

Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

# gr_threshold_ff Class Reference
[Signal Processing Blocks]

`#include <gr_threshold_ff.h>`

Inheritance diagram for gr_threshold_ff:

[legend]
Collaboration diagram for gr_threshold_ff:

[legend]
List of all members.

## Public Member Functions
float | lo () const
void | set_lo (float lo)
float | hi () const
void | set_hi (float hi)
float | last_state () const
void | set_last_state (float last_state)
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
| just like gr_block::general_work, only this arranges to call consume_each for you
## Friends
gr_threshold_ff_sptr | gr_make_threshold_ff (float lo, float hi, float initial_state)

## Member Function Documentation

float gr_threshold_ff::hi | ( |  | ) | const`[inline]`

float gr_threshold_ff::last_state | ( |  | ) | const`[inline]`

float gr_threshold_ff::lo | ( |  | ) | const`[inline]`

void gr_threshold_ff::set_hi | ( | float | hi | ) | `[inline]`

void gr_threshold_ff::set_last_state | ( | float | last_state | ) | `[inline]`

void gr_threshold_ff::set_lo | ( | float | lo | ) | `[inline]`

int gr_threshold_ff::work | ( | int | noutput_items,
|  | gr_vector_const_void_star & | input_items,
|  | gr_vector_void_star & | output_items
| ) | `[virtual]`

| just like gr_block::general_work, only this arranges to call consume_each for you The user must override work to define the signal processing code Implements gr_sync_block.

## Friends And Related Function Documentation

gr_threshold_ff_sptr gr_make_threshold_ff | ( | float | lo,
|  | float | hi,
|  | float | initial_state
| ) | `[friend]`

The documentation for this class was generated from the following files:

- gr_threshold_ff.h
- gr_threshold_ff.cc