20 lines
467 B
C++
20 lines
467 B
C++
/*
|
|
* EventIdRangeMatcher.cpp
|
|
*
|
|
* Created on: 27.08.2015
|
|
* Author: baetz
|
|
*/
|
|
|
|
#include <framework/events/eventmatching/EventIdRangeMatcher.h>
|
|
|
|
EventIdRangeMatcher::EventIdRangeMatcher(EventId_t lower, EventId_t upper,
|
|
bool inverted) : EventRangeMatcherBase<EventId_t>(lower, upper, inverted) {
|
|
}
|
|
|
|
EventIdRangeMatcher::~EventIdRangeMatcher() {
|
|
}
|
|
|
|
bool EventIdRangeMatcher::match(EventMessage* message) {
|
|
return rangeMatcher.match(message->getEventId());
|
|
}
|