grc.elements.Connection.Connection Class Reference

Inheritance diagram for grc.elements.Connection.Connection:

Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__
def is_connection
def validate
def get_enabled
def get_sink
def get_source
def export_data

Private Attributes

 _source
 _sink


Detailed Description

Definition at line 29 of file Connection.py.


Member Function Documentation

def grc.elements.Connection.Connection.__init__ (   self,
  flow_graph,
  porta,
  portb 
)

Make a new connection given the parent and 2 ports.

Parameters:
flow_graph the parent of this element
porta a port (any direction)
portb a port (any direction)
Exceptions:
Error cannot make connection
Returns:
a new connection

Definition at line 31 of file Connection.py.

def grc.elements.Connection.Connection.__str__ (   self  ) 

Definition at line 53 of file Connection.py.

def grc.elements.Connection.Connection.is_connection (   self  ) 

Reimplemented from grc.elements.Element.Element.

Definition at line 55 of file Connection.py.

def grc.elements.Connection.Connection.validate (   self  ) 

Validate the connections.
The ports must match in type.

Reimplemented from grc.elements.Element.Element.

Definition at line 57 of file Connection.py.

def grc.elements.Connection.Connection.get_enabled (   self  ) 

Get the enabled state of this connection.

Returns:
true if source and sink blocks are enabled

Definition at line 67 of file Connection.py.

def grc.elements.Connection.Connection.get_sink (   self  ) 

Definition at line 78 of file Connection.py.

def grc.elements.Connection.Connection.get_source (   self  ) 

Definition at line 79 of file Connection.py.

def grc.elements.Connection.Connection.export_data (   self  ) 

Import/Export Methods

Export this connection's info.
@return a nested data odict

Definition at line 84 of file Connection.py.


Member Data Documentation

grc.elements.Connection.Connection._source [private]

Definition at line 50 of file Connection.py.

grc.elements.Connection.Connection._sink [private]

Definition at line 51 of file Connection.py.


The documentation for this class was generated from the following file:
Generated on Sat Aug 23 02:00:11 2008 for GNU Radio Companion by  doxygen 1.5.4