gnuradio::gr::hier_block2::hier_block2 Class Reference

Python wrapper around the C++ hierarchical block implementation. More...

List of all members.

Public Member Functions

def __init__
 Create a hierarchical block with a given name and I/O signatures.
def __getattr__
 Pass-through member requests to the C++ object.
def connect
 Connect two or more block endpoints.
def disconnect
 Disconnect two endpoints in the flowgraph.


Detailed Description

Python wrapper around the C++ hierarchical block implementation.

Provides convenience functions and allows proper Python subclassing.


Member Function Documentation

def gnuradio::gr::hier_block2::hier_block2::__getattr__ (   self,
  name 
)

Pass-through member requests to the C++ object.

def gnuradio::gr::hier_block2::hier_block2::__init__ (   self,
  name,
  input_signature,
  output_signature 
)

Create a hierarchical block with a given name and I/O signatures.

def gnuradio::gr::hier_block2::hier_block2::connect (   self,
  points 
)

Connect two or more block endpoints.

An endpoint is either a (block, port) tuple or a block instance. In the latter case, the port number is assumed to be zero.

To connect the hierarchical block external inputs or outputs to internal block inputs or outputs, use 'self' in the connect call.

If multiple arguments are provided, connect will attempt to wire them in series, interpreting the endpoints as inputs or outputs as appropriate.

def gnuradio::gr::hier_block2::hier_block2::disconnect (   self,
  points 
)

Disconnect two endpoints in the flowgraph.

To disconnect the hierarchical block external inputs or outputs to internal block inputs or outputs, use 'self' in the connect call.

If more than two arguments are provided, they are disconnected successively.


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

Generated on Thu Mar 5 09:03:57 2009 for GNU Radio 3.1.3 by  doxygen 1.5.8