RSB
0.7.0
|
#include <ScopeFilter.h>
Public Member Functions | |
ScopeFilter (const Scope &scope) | |
virtual | ~ScopeFilter () |
std::string | getClassName () const |
void | printContents (std::ostream &stream) const |
bool | match (EventPtr e) |
Matches the given event against the constraints specified by this filter. | |
Scope | getScope () |
void | notifyObserver (FilterObserverPtr fo, FilterAction::Types at) |
Double-dispatch method to notfify a FilterObserver about changes for this filter with a more specific type that the general Filter interface. | |
Public Member Functions inherited from rsb::filter::Filter | |
Filter () | |
virtual | ~Filter () |
Private Attributes | |
Scope | scope |
Definition at line 39 of file ScopeFilter.h.
rsb::filter::ScopeFilter::ScopeFilter | ( | const Scope & | scope | ) |
Definition at line 35 of file ScopeFilter.cpp.
|
virtual |
Definition at line 39 of file ScopeFilter.cpp.
string rsb::filter::ScopeFilter::getClassName | ( | ) | const |
Definition at line 42 of file ScopeFilter.cpp.
Scope rsb::filter::ScopeFilter::getScope | ( | ) |
Definition at line 63 of file ScopeFilter.cpp.
References scope.
|
virtual |
Matches the given event against the constraints specified by this filter.
e | the event to match. Must not be changed! |
true
if the event matches the restrictions specified by this filter and hence can be delivered to the client, false
to remove the event from the stream. Implements rsb::filter::Filter.
Definition at line 50 of file ScopeFilter.cpp.
References scope.
|
virtual |
Double-dispatch method to notfify a FilterObserver about changes for this filter with a more specific type that the general Filter interface.
The default implementation does not generate a specific notification on FilterObserver. Override this method if there is a specific reception method in FilterObserver.
fo | the observer to notify |
at | action that is performed with this filter. Just pass this to the observer |
Reimplemented from rsb::filter::Filter.
Definition at line 59 of file ScopeFilter.cpp.
void rsb::filter::ScopeFilter::printContents | ( | std::ostream & | stream | ) | const |
Definition at line 46 of file ScopeFilter.cpp.
References scope.
|
private |
Definition at line 54 of file ScopeFilter.h.
Referenced by getScope(), match(), and printContents().