MADARA  3.1.8
AggregateFilter.h
Go to the documentation of this file.
1 
2 
3 #ifndef _MADARA_FILTERS_AGGREGATE_FILTER_H_
4 #define _MADARA_FILTERS_AGGREGATE_FILTER_H_
5 
13 #include <string>
14 #include <vector>
15 #include <map>
16 #include <list>
19 #include "madara/utility/stdint.h"
20 #include "madara/MADARA_export.h"
23 
24 namespace madara
25 {
26  namespace filters
27  {
35  {
36  public:
40  virtual ~AggregateFilter ()
41  {
42  }
43 
52  virtual void filter (knowledge::KnowledgeMap & records,
53  const transport::TransportContext & transport_context,
54  knowledge::Variables & vars) = 0;
55  };
56  }
57 }
58 
59 #endif // _MADARA_FILTERS_AGGREGATE_FILTER_H_
Abstract base class for implementing aggregate record filters via a functor interface.
Provides context about the transport.
virtual ~AggregateFilter()
Destructor.
::std::map< std::string, KnowledgeRecord > KnowledgeMap
Copyright (c) 2015 Carnegie Mellon University.
Provides an interface for external functions into the MADARA KaRL variable settings.
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.