MADARA  3.2.3
ClearRecords.h
Go to the documentation of this file.
1 
2 
3 #ifndef _MADARA_FILTERS_CLEAR_RECORDS_H_
4 #define _MADARA_FILTERS_CLEAR_RECORDS_H_
5 
15 #include <string>
16 #include <vector>
17 #include <map>
18 #include <list>
21 #include "madara/utility/StdInt.h"
22 #include "madara/MadaraExport.h"
26 
27 #include "AggregateFilter.h"
28 
29 namespace madara
30 {
31  namespace filters
32  {
36  class MADARA_EXPORT ClearRecords : public AggregateFilter
37  {
38  public:
42  ClearRecords ();
43 
47  virtual ~ClearRecords ();
48 
55  virtual void filter (knowledge::KnowledgeMap & records,
56  const transport::TransportContext & transport_context,
57  knowledge::Variables & vars);
58  };
59  }
60 }
61 
62 #endif // _MADARA_FILTERS_CLEAR_RECORDS_H_
Abstract base class for implementing aggregate record filters via a functor interface.
Provides context about the transport.
::std::map< std::string, KnowledgeRecord > KnowledgeMap
Filter for clearing records from a filter.
Definition: ClearRecords.h:36
Copyright (c) 2015 Carnegie Mellon University.
Provides an interface for external functions into the MADARA KaRL variable settings.