Class: Cosmos::PacketLogWriterPair

Inherits:
Object
  • Object
show all
Defined in:
lib/cosmos/packet_logs/packet_log_writer_pair.rb

Overview

Holds a cmd/tlm pair of packet log writers

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cmd_log_writer, tlm_log_writer) ⇒ PacketLogWriterPair

Returns a new instance of PacketLogWriterPair.

Parameters:



23
24
25
26
# File 'lib/cosmos/packet_logs/packet_log_writer_pair.rb', line 23

def initialize(cmd_log_writer, tlm_log_writer)
  @cmd_log_writer = cmd_log_writer
  @tlm_log_writer = tlm_log_writer
end

Instance Attribute Details

#cmd_log_writerPacketLogWriter (readonly)

Returns The comamnd log writer.

Returns:



17
18
19
# File 'lib/cosmos/packet_logs/packet_log_writer_pair.rb', line 17

def cmd_log_writer
  @cmd_log_writer
end

#tlm_log_writerPacketLogWriter (readonly)

Returns The telemetry log writer.

Returns:



19
20
21
# File 'lib/cosmos/packet_logs/packet_log_writer_pair.rb', line 19

def tlm_log_writer
  @tlm_log_writer
end