cars.applications.application ============================= .. py:module:: cars.applications.application .. autoapi-nested-parse:: This module contains class application factory. Classes ------- .. autoapisummary:: cars.applications.application.Application Module Contents --------------- .. py:class:: Application Application factory: A class designed for registered all available Cars application and instantiate when needed. .. py:attribute:: available_applications .. py:method:: create_app(name: str, cfg: cars.conf.input_parameters.ConfigType, scaling_coeff: float = 1) :classmethod: Factory command to create the application Return the instance of application associated with the application name given as parameter :param app_name: name of the application. :type app_name: str :param cfg: configuration {'matching_cost_method': value} :type cfg: dictionary :param scaling_coeff: scaling factor for resolution :type scaling_coeff: float .. py:method:: print_applications() :classmethod: Print all registered applications .. py:method:: register(app_name: str) :classmethod: Allows to register the application with its name :param app_name: the application to be registered :type app_name: string