Method: OpenC3::Processor#call

Defined in:
lib/openc3/processors/processor.rb

#call(packet, buffer) ⇒ Object

Perform processing on the packet.

Parameters:

  • The packet which contains the value. This can be useful to reach into the packet and use other values in the conversion.

  • The packet buffer

Returns:

  • The processed result



56
57
58
# File 'lib/openc3/processors/processor.rb', line 56

def call(packet, buffer)
  raise "call method must be defined by subclass"
end