robokudo.utils.decorators ========================= .. py:module:: robokudo.utils.decorators .. autoapi-nested-parse:: This module contains Python decorators that can be used to easily extend the functionality of your Annotators. Functions --------- .. autoapisummary:: robokudo.utils.decorators.timer_decorator robokudo.utils.decorators.record_time robokudo.utils.decorators.publish_variables Module Contents --------------- .. py:function:: timer_decorator(func) Decorator that logs the execution time of a function. In case rk_logger is available, the execution time is logged to the logger, otherwise it is printed to the console. .. py:function:: record_time(func) Decorator that logs the execution time of a function. Assumes to be only called on a member function of an Annotator. .. py:function:: publish_variables(func) Decorator which is used to publish all collected variable outputs with the standard mechanism