Home | Trees | Indices | Help |
|
---|
|
1 # Copyright (C) 2010 Tim Diels <limyreth@users.sourceforge.net> 2 # 3 # This file is part of pytilities. 4 # 5 # pytilities is free software: you can redistribute it and/or modify 6 # it under the terms of the GNU General Public License as published by 7 # the Free Software Foundation, either version 3 of the License, or 8 # (at your option) any later version. 9 # 10 # pytilities is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License 16 # along with pytilities. If not, see <http://www.gnu.org/licenses/>. 17 # 18 19 """ 20 Delegation utilities 21 22 Classes: 23 24 `Dispatcher` 25 Utility class for dispatching events to handlers. 26 27 `DispatcherSwitch` 28 Provides a single interface to multiple event dispatchers. 29 30 `RestrictedDispatcher` 31 `Dispatcher` wrapper that filters the list of supported events. 32 33 Decorators: 34 35 `dispatcher` 36 Installs a `Dispatcher` on an `AttributeCollectionBase`. 37 38 `dispatcher_switch` 39 Installs a `DispatcherSwitch` on an `AttributeCollectionBase`. 40 """ 41 42 __docformat__ = 'reStructuredText' 43 44 from .dispatcher_ import Dispatcher, UnsupportedEventError 45 from .dispatcherswitch import DispatcherSwitch 46 from .restricteddispatcher import RestrictedDispatcher 47 from .decorators import dispatcher, dispatcher_switch 48
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Thu Jul 22 13:11:43 2010 | http://epydoc.sourceforge.net |