Method: OpenC3::TableItem#initialize
- Defined in:
- lib/openc3/tools/table_manager/table_item.rb
#initialize(name, bit_offset, bit_size, data_type, endianness, array_size = nil, overflow = :ERROR) ⇒ TableItem
Create a StructureItem by setting all the attributes. It calls all the setter routines to do the attribute verification and then verifies the overall integrity.
It also initializes the attributes of the PacketItem.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/openc3/tools/table_manager/table_item.rb', line 36 def initialize( name, bit_offset, bit_size, data_type, endianness, array_size = nil, overflow = :ERROR ) super( name, bit_offset, bit_size, data_type, endianness, array_size, overflow, ) @display_type = nil @editable = true @hidden = false end |