|
OmniEvents
|
Allows only events of a certain CORBA RepositoryId to pass. More...
#include <Filter.h>


Public Member Functions | |
| FilterByRepositoryId (const char *rid) | |
| virtual | ~FilterByRepositoryId () |
| 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::RepositoryId_var | _rid |
Allows only events of a certain CORBA RepositoryId to pass.
Only passes events whose type matches exactly.
| OmniEvents::FilterByRepositoryId::FilterByRepositoryId | ( | const char * | rid | ) | [inline] |
| virtual OmniEvents::FilterByRepositoryId::~FilterByRepositoryId | ( | ) | [inline, virtual] |
| bool OmniEvents::FilterByRepositoryId::keep | ( | const CORBA::Any & | event | ) | const [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::FilterByRepositoryId::output | ( | ostream & | os | ) | const [inline, virtual] |
Implements OmniEvents::Filter.
CORBA::RepositoryId_var OmniEvents::FilterByRepositoryId::_rid [private] |