ok

Mini Shell

Direktori : /lib/python2.7/site-packages/tuned/exports/
Upload File :
Current File : //lib/python2.7/site-packages/tuned/exports/controller.pyo

�
��\c@sHddlmZddlZddlZdejjfd��YZdS(i(t
interfacesi����NtExportsControllercBsheZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�ZRS(s4
	Controls and manages object interface exporting.
	cCs2tt|�j�g|_g|_t|_dS(N(tsuperRt__init__t
_exporterst_objectstFalset_exports_initialized(tself((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyR
s		cCs|jj|�dS(sRegister objects exporter.N(Rtappend(Rtinstance((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pytregister_exporterscCs|jj|�dS(sRegister object to be exported.N(RR	(RR
((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pytregister_objectscCstj|�ot|d�S(s8Check if method was marked with @exports.export wrapper.t
export_params(tinspecttismethodthasattr(Rtmethod((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyt_is_exportable_methodscCstj|�ot|d�S(s8Check if method was marked with @exports.signal wrapper.t
signal_params(RRR(RR((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyt_is_exportable_signalscCsEx>|jD]3}|jd}|jd}|j|||�q
WdS(s!Register method to all exporters.iiN(RR
texport(RRtexportertargstkwargs((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyt_export_method s

cCsEx>|jD]3}|jd}|jd}|j|||�q
WdS(s!Register signal to all exporters.iiN(RRtsignal(RRRRR((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyt_export_signal's

cCs�|jr
dSxw|jD]l}x0tj||j�D]\}}|j|�q3Wx0tj||j�D]\}}|j|�qfWqWt|_dS(N(	RRRt
getmembersRRRRtTrue(RR
tnameR((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyt_initialize_exports.s	""cCs,|j�x|jD]}|j�qWdS(sStart the exports.N(RRtstart(RR((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyR :s
cCs"x|jD]}|j�q
WdS(sStop the exports.N(Rtstop(RR((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyR!@s(
t__name__t
__module__t__doc__RRRRRRRRR R!(((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyRs									(tRRttuned.patternsttunedtpatternst	SingletonR(((s</usr/lib/python2.7/site-packages/tuned/exports/controller.pyt<module>s

Zerion Mini Shell 1.0