Skip to content
Snippets Groups Projects
abstract_graph_component.py 557 B
Newer Older
  • Learn to ignore specific revisions
  • """@package docstring
    B-ASIC module for Graph Components of a signal flow graph.
    TODO: More info.
    """
    
    from b_asic.graph_component import GraphComponent, Name
    
    class AbstractGraphComponent(GraphComponent):
        """Abstract Graph Component class which is a component of a signal flow graph.
    
        TODO: More info.
        """
    
        _name: Name
    
        def __init__(self, name: Name = ""):
            self._name = name
    
        @property
        def name(self) -> Name:
            return self._name
    
        @name.setter
        def name(self, name: Name) -> None:
            self._name = name