Keeps track of packetized data history from a single protocol analyzer filter.
More...
#include <PacketManager.h>
|
|
| PacketManager (PacketDecoder *pd, Session &session) |
| |
|
void | Update () |
| | Handle newly arrived waveform data (may be a change to parameters or a freshly arrived waveform)
|
| |
| void | RemoveHistoryFrom (TimePoint timestamp) |
| | Removes all history from the specified timestamp. More...
|
| |
|
std::recursive_mutex & | GetMutex () |
| |
|
const std::map< TimePoint, std::vector< Packet * > > & | GetPackets () |
| |
|
const std::vector< Packet * > & | GetChildPackets (Packet *pack) |
| |
|
const std::map< TimePoint, std::vector< Packet * > > & | GetFilteredPackets () |
| |
|
const std::vector< Packet * > & | GetFilteredChildPackets (Packet *pack) |
| |
|
void | SetDisplayFilter (std::shared_ptr< ProtocolDisplayFilter > filter) |
| | Sets the current filter expression.
|
| |
|
void | FilterPackets () |
| | Run the filter expression against the packets.
|
| |
|
bool | IsChildOpen (Packet *pack) |
| |
|
void | SetChildOpen (Packet *pack, bool open) |
| |
|
std::vector< RowData > & | GetRows () |
| |
|
void | OnMarkerChanged () |
| |
|
void | RefreshIfPending () |
| | Refresh the list of pending packets.
|
| |
|
|
void | RemoveChildHistoryFrom (Packet *pack) |
| |
|
void | RefreshRows () |
| | Update the list of rows being displayed.
|
| |
|
|
Session & | m_session |
| | Parent session object.
|
| |
|
std::recursive_mutex | m_mutex |
| | Mutex controlling access to m_packets.
|
| |
|
PacketDecoder * | m_filter |
| | The filter we're managing.
|
| |
|
std::map< TimePoint, std::vector< Packet * > > | m_packets |
| | Our saved packet data.
|
| |
|
std::map< Packet *, std::vector< Packet * > > | m_childPackets |
| | Merged child packets.
|
| |
|
std::map< TimePoint, std::vector< Packet * > > | m_filteredPackets |
| | Subset of m_packets that passed the current filter expression.
|
| |
|
std::map< Packet *, std::vector< Packet * > > | m_filteredChildPackets |
| | Subset of m_filteredChildPackets that passed the current filter expression.
|
| |
|
WaveformCacheKey | m_cachekey |
| | Cache key for the current waveform.
|
| |
|
std::shared_ptr< ProtocolDisplayFilter > | m_filterExpression |
| | Current filter expression.
|
| |
|
std::vector< RowData > | m_rows |
| | The set of rows that are to be displayed, based on current tree expansion and filter state.
|
| |
|
std::map< Packet *, bool > | m_lastChildOpen |
| | Map of packets to child-open flags from last frame.
|
| |
|
bool | m_refreshPending |
| | True if we have a refresh pending before we can render (i.e. pending deletion or similar)
|
| |
Keeps track of packetized data history from a single protocol analyzer filter.
◆ RemoveHistoryFrom()
| void PacketManager::RemoveHistoryFrom |
( |
TimePoint |
timestamp | ) |
|
Removes all history from the specified timestamp.
- Parameters
-
| timestamp | Time to remove the history from |
The documentation for this class was generated from the following files: