35#ifndef DPAuxChannelDecoder_h
36#define DPAuxChannelDecoder_h
38#include "../scopehal/PacketDecoder.h"
72 return (m_stype == s.m_stype) && (m_data == s.m_data);
80 virtual std::string
GetText(
size_t)
override;
81 virtual std::string
GetColor(
size_t)
override;
90 virtual void Refresh()
override;
91 static std::string GetProtocolName();
94 virtual std::vector<std::string> GetHeaders()
override;
105 std::string DecodeRegisterName(uint32_t nreg);
106 std::string DecodeRegisterContent(uint32_t start_addr,
const std::vector<uint8_t>& data);
111 return FindRisingEdge(i, cap);
113 return FindFallingEdge(i, cap);
Definition: DPAuxChannelDecoder.h:85
virtual Packet * CreateMergedHeader(Packet *pack, size_t i) override
Creates a summary packet for one or more merged packets.
Definition: DPAuxChannelDecoder.cpp:1938
virtual void Refresh() override
Evaluates a filter graph node.
Definition: DPAuxChannelDecoder.cpp:92
virtual bool CanMerge(Packet *first, Packet *cur, Packet *next) override
Checks if multiple packets can be merged under a single heading in the protocol analyzer view.
Definition: DPAuxChannelDecoder.cpp:1906
Definition: DPAuxChannelDecoder.h:41
Definition: PacketDecoder.h:85
Definition: PacketDecoder.h:40
Descriptor for a single stream coming off a channel.
Definition: StreamDescriptor.h:46