|
OmniEvents
|
The most basic event filter allows only events of a certain CORBA TCKind to pass. More...
#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 |
The most basic event filter allows only events of a certain CORBA TCKind to pass.
Usually used to filter basic types.
| 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.
| void OmniEvents::FilterByTCKind::output | ( | ostream & | os | ) | const [inline, virtual] |
Implements OmniEvents::Filter.
CORBA::TCKind OmniEvents::FilterByTCKind::_kind [private] |