aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Foundation/include/Poco/SplitterChannel.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/poco/Foundation/include/Poco/SplitterChannel.h
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/poco/Foundation/include/Poco/SplitterChannel.h')
-rw-r--r--contrib/libs/poco/Foundation/include/Poco/SplitterChannel.h154
1 files changed, 77 insertions, 77 deletions
diff --git a/contrib/libs/poco/Foundation/include/Poco/SplitterChannel.h b/contrib/libs/poco/Foundation/include/Poco/SplitterChannel.h
index 75aa33b20a..797697996f 100644
--- a/contrib/libs/poco/Foundation/include/Poco/SplitterChannel.h
+++ b/contrib/libs/poco/Foundation/include/Poco/SplitterChannel.h
@@ -1,77 +1,77 @@
-//
-// SplitterChannel.h
-//
-// Library: Foundation
-// Package: Logging
-// Module: SplitterChannel
-//
-// Definition of the SplitterChannel class.
-//
-// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
-// and Contributors.
-//
-// SPDX-License-Identifier: BSL-1.0
-//
-
-
-#ifndef Foundation_SplitterChannel_INCLUDED
-#define Foundation_SplitterChannel_INCLUDED
-
-
-#include "Poco/Foundation.h"
-#include "Poco/Channel.h"
-#include "Poco/Mutex.h"
-#include <vector>
-
-
-namespace Poco {
-
-
-class Foundation_API SplitterChannel: public Channel
- /// This channel sends a message to multiple
- /// channels simultaneously.
-{
-public:
- SplitterChannel();
- /// Creates the SplitterChannel.
-
- void addChannel(Channel* pChannel);
- /// Attaches a channel, which may not be null.
-
- void removeChannel(Channel* pChannel);
- /// Removes a channel.
-
- void log(const Message& msg);
- /// Sends the given Message to all
- /// attaches channels.
-
- void setProperty(const std::string& name, const std::string& value);
- /// Sets or changes a configuration property.
- ///
- /// Only the "channel" property is supported, which allows
- /// adding a comma-separated list of channels via the LoggingRegistry.
- /// The "channel" property is set-only.
- /// To simplify file-based configuration, all property
- /// names starting with "channel" are treated as "channel".
-
- void close();
- /// Removes all channels.
-
- int count() const;
- /// Returns the number of channels in the SplitterChannel.
-
-protected:
- ~SplitterChannel();
-
-private:
- typedef std::vector<Channel*> ChannelVec;
-
- ChannelVec _channels;
- mutable FastMutex _mutex;
-};
-
-
-} // namespace Poco
-
-
-#endif // Foundation_SplitterChannel_INCLUDED
+//
+// SplitterChannel.h
+//
+// Library: Foundation
+// Package: Logging
+// Module: SplitterChannel
+//
+// Definition of the SplitterChannel class.
+//
+// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
+// and Contributors.
+//
+// SPDX-License-Identifier: BSL-1.0
+//
+
+
+#ifndef Foundation_SplitterChannel_INCLUDED
+#define Foundation_SplitterChannel_INCLUDED
+
+
+#include "Poco/Foundation.h"
+#include "Poco/Channel.h"
+#include "Poco/Mutex.h"
+#include <vector>
+
+
+namespace Poco {
+
+
+class Foundation_API SplitterChannel: public Channel
+ /// This channel sends a message to multiple
+ /// channels simultaneously.
+{
+public:
+ SplitterChannel();
+ /// Creates the SplitterChannel.
+
+ void addChannel(Channel* pChannel);
+ /// Attaches a channel, which may not be null.
+
+ void removeChannel(Channel* pChannel);
+ /// Removes a channel.
+
+ void log(const Message& msg);
+ /// Sends the given Message to all
+ /// attaches channels.
+
+ void setProperty(const std::string& name, const std::string& value);
+ /// Sets or changes a configuration property.
+ ///
+ /// Only the "channel" property is supported, which allows
+ /// adding a comma-separated list of channels via the LoggingRegistry.
+ /// The "channel" property is set-only.
+ /// To simplify file-based configuration, all property
+ /// names starting with "channel" are treated as "channel".
+
+ void close();
+ /// Removes all channels.
+
+ int count() const;
+ /// Returns the number of channels in the SplitterChannel.
+
+protected:
+ ~SplitterChannel();
+
+private:
+ typedef std::vector<Channel*> ChannelVec;
+
+ ChannelVec _channels;
+ mutable FastMutex _mutex;
+};
+
+
+} // namespace Poco
+
+
+#endif // Foundation_SplitterChannel_INCLUDED