LevelEvaluator.hh
Go to the documentation of this file.
1 #if !defined(h_3491ecd0_3891_4902_b3ba_15b15d98ae49)
2 #define h_3491ecd0_3891_4902_b3ba_15b15d98ae49
3 
5 
8 {
9 public:
10  LevelEvaluator(Priority::Value level) : level_(level) {}
11  virtual bool eval(const LoggingEvent& event) const { return event.priority <= level_; }
12 
13 private:
15 };
17 
18 #endif // h_3491ecd0_3891_4902_b3ba_15b15d98ae49
#define LOG4CPP_NS_END
Definition: Portability.hh:50
Priority::Value level_
The top level namespace for all &#39;Log for C++&#39; types and classes.
Definition: LoggingEvent.hh:32
#define LOG4CPP_EXPORT
Definition: Export.hh:21
LevelEvaluator(Priority::Value level)
int Value
The type of Priority Values.
Definition: Priority.hh:87
virtual bool eval(const LoggingEvent &event) const
#define LOG4CPP_NS_BEGIN
Definition: Portability.hh:49


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:54