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.
Definition at line 84 of file Filter.h.
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] |
CORBA::RepositoryId_var OmniEvents::FilterByRepositoryId::_rid [private] |