00001 //# LogFilterParallel.h: This file contains the interface of the LogFilterParallel class. 00002 //# 00003 //# CASA - Common Astronomy Software Applications (http://casa.nrao.edu/) 00004 //# Copyright (C) Associated Universities, Inc. Washington DC, USA 2011, All rights reserved. 00005 //# Copyright (C) European Southern Observatory, 2011, All rights reserved. 00006 //# 00007 //# This library is free software; you can redistribute it and/or 00008 //# modify it under the terms of the GNU Lesser General Public 00009 //# License as published by the Free software Foundation; either 00010 //# version 2.1 of the License, or (at your option) any later version. 00011 //# 00012 //# This library is distributed in the hope that it will be useful, 00013 //# but WITHOUT ANY WARRANTY, without even the implied warranty of 00014 //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 //# Lesser General Public License for more details. 00016 //# 00017 //# You should have received a copy of the GNU Lesser General Public 00018 //# License along with this library; if not, write to the Free Software 00019 //# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00020 //# MA 02111-1307 USA 00021 //# $Id: $ 00022 00023 #ifndef CASA_LOGFILTERPARALLEL_H 00024 #define CASA_LOGFILTERPARALLEL_H 00025 00026 //# Includes 00027 #include <vector> 00028 #include <casa/Logging/LogFilter.h> 00029 00030 namespace casa { //# NAMESPACE CASA - BEGIN 00031 00032 class LogFilterParallel: public LogFilter 00033 { 00034 00035 public: 00036 00037 LogFilterParallel (LogMessage::Priority lowest=LogMessage::NORMAL); 00038 LogFilterParallel (const LogFilterParallel& other); 00039 LogFilterParallel& operator= (const LogFilterParallel& other); 00040 ~LogFilterParallel(); 00041 LogFilterParallel* clone() const; 00042 00043 Bool pass(const LogMessage& message) const; 00044 void filterOut(const Char *text); 00045 00046 private: 00047 00048 std::vector<String> filterOutVector_p; 00049 00050 }; 00051 00052 } //# NAMESPACE CASA - END 00053 00054 #endif