OmniEvents::FilterByRepositoryId Class Reference

Allows only events of a certain CORBA RepositoryId to pass. More...

#include <Filter.h>

Inheritance diagram for OmniEvents::FilterByRepositoryId:
Inheritance graph
[legend]
Collaboration diagram for OmniEvents::FilterByRepositoryId:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

OmniEvents::FilterByRepositoryId::FilterByRepositoryId ( const char *  rid  )  [inline]

Definition at line 87 of file Filter.h.

virtual OmniEvents::FilterByRepositoryId::~FilterByRepositoryId (  )  [inline, virtual]

Definition at line 88 of file Filter.h.


Member Function Documentation

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.

Definition at line 36 of file Filter.cc.

References _rid, and STR_MATCH.

void OmniEvents::FilterByRepositoryId::output ( ostream &  os  )  const [inline, virtual]

Implements OmniEvents::Filter.

Definition at line 90 of file Filter.h.

References _rid.


Member Data Documentation

CORBA::RepositoryId_var OmniEvents::FilterByRepositoryId::_rid [private]

Definition at line 92 of file Filter.h.

Referenced by keep(), and output().


The documentation for this class was generated from the following files:

Generated on Mon Sep 28 05:10:19 2009 for OmniEvents by  doxygen 1.6.1