GNU Radio 3.6.5 C++ API

gr::analog::agc2_cc_impl Class Reference

#include <agc2_cc_impl.h>

Inheritance diagram for gr::analog::agc2_cc_impl:
gr::analog::agc2_cc gr::analog::kernel::agc2_cc gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

Public Member Functions

 agc2_cc_impl (float attack_rate=1e-1, float decay_rate=1e-2, float reference=1.0, float gain=1.0, float max_gain=0.0)
 ~agc2_cc_impl ()
float attack_rate () const
float decay_rate () const
float reference () const
float gain () const
float max_gain () const
void set_attack_rate (float rate)
void set_decay_rate (float rate)
void set_reference (float reference)
void set_gain (float gain)
void set_max_gain (float max_gain)
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

Constructor & Destructor Documentation

gr::analog::agc2_cc_impl::agc2_cc_impl ( float  attack_rate = 1e-1,
float  decay_rate = 1e-2,
float  reference = 1.0,
float  gain = 1.0,
float  max_gain = 0.0 
)
gr::analog::agc2_cc_impl::~agc2_cc_impl ( )

Member Function Documentation

float gr::analog::agc2_cc_impl::attack_rate ( ) const [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

float gr::analog::agc2_cc_impl::decay_rate ( ) const [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

float gr::analog::agc2_cc_impl::gain ( ) const [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

float gr::analog::agc2_cc_impl::max_gain ( ) const [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

float gr::analog::agc2_cc_impl::reference ( ) const [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

void gr::analog::agc2_cc_impl::set_attack_rate ( float  rate) [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

void gr::analog::agc2_cc_impl::set_decay_rate ( float  rate) [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

void gr::analog::agc2_cc_impl::set_gain ( float  gain) [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

void gr::analog::agc2_cc_impl::set_max_gain ( float  max_gain) [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

void gr::analog::agc2_cc_impl::set_reference ( float  reference) [inline]

Reimplemented from gr::analog::kernel::agc2_cc.

int gr::analog::agc2_cc_impl::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.


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