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. |
Provides convenience functions and allows proper Python subclassing.
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.