You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove possibility of setFilter and clearFilter shadowing in derived devices. (#2005)
* Updates the `IFilterableDevice` interface to utilize a NVI pattern.
This prevents issues such as shadowing overloads when multiple overloads are available and only 1 is overloaded.
For example: `setFilter` previously required `using::setFilter` declaration on every class that included an override it.
The change consolidates all device specific filter update code in `doUpdateFilter` hook.
The methods `setFiltter` (+overloads) / `clearFilter` are no longer virtual and can be overridden. Their implementation is
now forwarded through `doUpdateFilter`.
* Updated PcapNgFileReaderDevice.
* Fix inconsistent override warning.
* Update `doUpdateFilter` to account for possible valid `""` filter string;
* Fix
* Fix
* Typo.
0 commit comments