|
MADARA
3.1.8
|
Abstract base class for implementing aggregate record filters via a functor interface. More...
#include <AggregateFilter.h>

Public Member Functions | |
| virtual | ~AggregateFilter () |
| Destructor. More... | |
| virtual void | filter (knowledge::KnowledgeMap &records, const transport::TransportContext &transport_context, knowledge::Variables &vars)=0 |
| User-implementable method for performing a filter on network data. More... | |
Abstract base class for implementing aggregate record filters via a functor interface.
When subclassing this class, create a new instance with the new operator, and the pointer will be managed by the underlying MADARA infrastructure.
Definition at line 34 of file AggregateFilter.h.
|
inlinevirtual |
Destructor.
Definition at line 40 of file AggregateFilter.h.
|
pure virtual |
User-implementable method for performing a filter on network data.
This is a pure abstract function that must be overridden when implementing a subclass.
| records | the aggregate records vector |
| transport_context | context for querying transport state |
| vars | context for querying current program state |
Implemented in madara::filters::EndpointClear, madara::filters::EndpointDiscovery, madara::filters::PeerDiscovery, madara::filters::CounterFilter, and madara::filters::ClearRecords.