diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/poco/Foundation/include/Poco/BasicEvent.h | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/poco/Foundation/include/Poco/BasicEvent.h')
-rw-r--r-- | contrib/libs/poco/Foundation/include/Poco/BasicEvent.h | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/contrib/libs/poco/Foundation/include/Poco/BasicEvent.h b/contrib/libs/poco/Foundation/include/Poco/BasicEvent.h index 08d9fd3c8f..bc2dd516c3 100644 --- a/contrib/libs/poco/Foundation/include/Poco/BasicEvent.h +++ b/contrib/libs/poco/Foundation/include/Poco/BasicEvent.h @@ -1,60 +1,60 @@ -// -// BasicEvent.h -// -// Library: Foundation -// Package: Events -// Module: BasicEvent -// -// Implementation of the BasicEvent template. -// -// Copyright (c) 2006-2011, Applied Informatics Software Engineering GmbH. -// and Contributors. -// -// SPDX-License-Identifier: BSL-1.0 -// - - -#ifndef Foundation_BasicEvent_INCLUDED -#define Foundation_BasicEvent_INCLUDED - - -#include "Poco/AbstractEvent.h" -#include "Poco/DefaultStrategy.h" -#include "Poco/AbstractDelegate.h" -#include "Poco/Mutex.h" - - -namespace Poco { - - -template <class TArgs, class TMutex = FastMutex> -class BasicEvent: public AbstractEvent < - TArgs, DefaultStrategy<TArgs, AbstractDelegate<TArgs> >, - AbstractDelegate<TArgs>, - TMutex -> - /// A BasicEvent uses the DefaultStrategy which - /// invokes delegates in the order they have been registered. - /// - /// Please see the AbstractEvent class template documentation - /// for more information. -{ -public: - BasicEvent() - { - } - - ~BasicEvent() - { - } - -private: - BasicEvent(const BasicEvent& e); - BasicEvent& operator = (const BasicEvent& e); -}; - - -} // namespace Poco - - -#endif // Foundation_BasicEvent_INCLUDED +// +// BasicEvent.h +// +// Library: Foundation +// Package: Events +// Module: BasicEvent +// +// Implementation of the BasicEvent template. +// +// Copyright (c) 2006-2011, Applied Informatics Software Engineering GmbH. +// and Contributors. +// +// SPDX-License-Identifier: BSL-1.0 +// + + +#ifndef Foundation_BasicEvent_INCLUDED +#define Foundation_BasicEvent_INCLUDED + + +#include "Poco/AbstractEvent.h" +#include "Poco/DefaultStrategy.h" +#include "Poco/AbstractDelegate.h" +#include "Poco/Mutex.h" + + +namespace Poco { + + +template <class TArgs, class TMutex = FastMutex> +class BasicEvent: public AbstractEvent < + TArgs, DefaultStrategy<TArgs, AbstractDelegate<TArgs> >, + AbstractDelegate<TArgs>, + TMutex +> + /// A BasicEvent uses the DefaultStrategy which + /// invokes delegates in the order they have been registered. + /// + /// Please see the AbstractEvent class template documentation + /// for more information. +{ +public: + BasicEvent() + { + } + + ~BasicEvent() + { + } + +private: + BasicEvent(const BasicEvent& e); + BasicEvent& operator = (const BasicEvent& e); +}; + + +} // namespace Poco + + +#endif // Foundation_BasicEvent_INCLUDED |