OmniEvents::FilterByTCKind Class Reference

The most basic event filter allows only events of a certain CORBA TCKind to pass. More...

#include <Filter.h>

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

List of all members.

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

Detailed Description

The most basic event filter allows only events of a certain CORBA TCKind to pass.

Usually used to filter basic types.

Definition at line 66 of file Filter.h.


Constructor & Destructor Documentation

OmniEvents::FilterByTCKind::FilterByTCKind ( CORBA::TCKind  kind  )  [inline]

Definition at line 69 of file Filter.h.

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

Definition at line 70 of file Filter.h.


Member Function Documentation

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]

Implements OmniEvents::Filter.

Definition at line 76 of file Filter.h.

References _kind.


Member Data Documentation

CORBA::TCKind OmniEvents::FilterByTCKind::_kind [private]

Definition at line 78 of file Filter.h.

Referenced by keep(), and output().


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

Generated on Mon Dec 21 16:13:53 2009 for OmniEvents by  doxygen 1.6.1