casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::PlotLoggerFilter Class Reference

Subclass of casacore::LogFilterInterface to filter on both event flags and minimum priority. More...

#include <PlotLogger.h>

Inheritance diagram for casa::PlotLoggerFilter:

Public Member Functions

 PlotLoggerFilter (int eventFlags, casacore::LogMessage::Priority minPriority)
 Constructor which takes optional event flags and minimum priority. More...
 ~PlotLoggerFilter ()
 Destructor. More...
casacore::LogFilterInterfaceclone () const
 Implements casacore::LogFilterInterface::clone(). More...
casacore::Bool pass (const casacore::LogMessage &message) const
 Implements casacore::LogFilterInterface::pass(). More...
int eventFlags () const
 Gets/Sets the event flags. More...
void setEventFlags (int flags)
casacore::LogMessage::Priority minimumPriority () const
 Gets/Sets the minimum priority. More...
void setMinimumPriority (casacore::LogMessage::Priority minPriority)
- Public Member Functions inherited from casacore::LogFilterInterface
 LogFilterInterface ()
 Construct a filter with the LOWEST priority that you want passed. More...
virtual ~LogFilterInterface ()

Private Attributes

int m_eventFlags
 Event flags. More...
casacore::LogMessage::Priority m_minPriority
 Minimum priority. More...

Detailed Description

Subclass of casacore::LogFilterInterface to filter on both event flags and minimum priority.

Definition at line 283 of file PlotLogger.h.

Constructor & Destructor Documentation

casa::PlotLoggerFilter::PlotLoggerFilter ( int  eventFlags,
casacore::LogMessage::Priority  minPriority 

Constructor which takes optional event flags and minimum priority.

casa::PlotLoggerFilter::~PlotLoggerFilter ( )


Member Function Documentation

casacore::LogFilterInterface* casa::PlotLoggerFilter::clone ( ) const
int casa::PlotLoggerFilter::eventFlags ( ) const

Gets/Sets the event flags.

casacore::LogMessage::Priority casa::PlotLoggerFilter::minimumPriority ( ) const

Gets/Sets the minimum priority.

casacore::Bool casa::PlotLoggerFilter::pass ( const casacore::LogMessage message) const
void casa::PlotLoggerFilter::setEventFlags ( int  flags)
void casa::PlotLoggerFilter::setMinimumPriority ( casacore::LogMessage::Priority  minPriority)

Member Data Documentation

int casa::PlotLoggerFilter::m_eventFlags

Event flags.

Definition at line 311 of file PlotLogger.h.

casacore::LogMessage::Priority casa::PlotLoggerFilter::m_minPriority

Minimum priority.

Definition at line 314 of file PlotLogger.h.

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