#include <Filter.h>
Public Member Functions | |
FilterByTCKind (CORBA::TCKind kind) | |
virtual | ~FilterByTCKind () |
bool | keep (const CORBA::Any &event) const |
Returns TRUE if the event passes the filter and FALSE if the event should be discarded. | |
void | output (ostream &os) const |
Private Attributes | |
CORBA::TCKind | _kind |
Usually used to filter basic types.
Definition at line 66 of file Filter.h.
OmniEvents::FilterByTCKind::FilterByTCKind | ( | CORBA::TCKind | kind | ) | [inline] |
virtual OmniEvents::FilterByTCKind::~FilterByTCKind | ( | ) | [inline, virtual] |
bool OmniEvents::FilterByTCKind::keep | ( | const CORBA::Any & | event | ) | const [inline, virtual] |
Returns TRUE if the event passes the filter and FALSE if the event should be discarded.
Called by filter() once for each event.
Implements OmniEvents::Filter.
Definition at line 71 of file Filter.h.
References _kind.
void OmniEvents::FilterByTCKind::output | ( | ostream & | os | ) | const [inline, virtual] |
CORBA::TCKind OmniEvents::FilterByTCKind::_kind [private] |