Class: RgGen::RegisterMap::BitFieldFactory

Inherits:
ComponentFactory show all
Defined in:
lib/rggen/core_components/register_map/bit_field_factory.rb

Instance Attribute Summary

Attributes inherited from InputBase::ComponentFactory

#loaders

Attributes inherited from Base::ComponentFactory

#child_factory, #item_factories, #target_component

Instance Method Summary collapse

Methods inherited from ComponentFactory

#create_component

Methods inherited from InputBase::ComponentFactory

#create

Methods inherited from Base::ComponentFactory

#create, #initialize, #root_factory

Constructor Details

This class inherits a constructor from RgGen::Base::ComponentFactory

Instance Method Details

#create_active_items(bit_field, cells) ⇒ Object



4
5
6
7
8
# File 'lib/rggen/core_components/register_map/bit_field_factory.rb', line 4

def create_active_items(bit_field, cells)
  active_item_factories.each_value.with_index do |factory, index|
    create_item(factory, bit_field, cells[index])
  end
end