spinetoolbox.spine_db_fetcher

SpineDBFetcher class.

authors:
  1. Marin (KTH)
date:

13.3.2020

Module Contents

Classes

SpineDBFetcher Fetches content from a Spine database and ‘sends’ them to another thread (via a signal-slot mechanism of course),
class spinetoolbox.spine_db_fetcher.SpineDBFetcher(db_mngr, listener)[source]

Bases: PySide2.QtCore.QObject

Fetches content from a Spine database and ‘sends’ them to another thread (via a signal-slot mechanism of course), so contents can be processed in that thread without affecting the UI.

Initializes the fetcher object.

Parameters:
finished[source]
_ready_to_finish[source]
_alternatives_fetched[source]
_scenarios_fetched[source]
_scenarios_alternatives_fetched[source]
_object_classes_fetched[source]
_objects_fetched[source]
_relationship_classes_fetched[source]
_relationships_fetched[source]
_entity_groups_fetched[source]
_parameter_definitions_fetched[source]
_parameter_definition_tags_fetched[source]
_parameter_values_fetched[source]
_parameter_value_lists_fetched[source]
_parameter_tags_fetched[source]
connect_signals(self)[source]

Connects signals.

fetch(self, db_maps)[source]

Fetches items from the database and emit fetched signals.

clean_up(self)[source]
quit(self)[source]
_receive_alternatives_fetched(self, db_map_data)[source]
_receive_scenarios_fetched(self, db_map_data)[source]
_receive_scenarios_alternatives_fetched(self, db_map_data)[source]
_receive_object_classes_fetched(self, db_map_data)[source]
_receive_objects_fetched(self, db_map_data)[source]
_receive_relationship_classes_fetched(self, db_map_data)[source]
_receive_relationships_fetched(self, db_map_data)[source]
_receive_entity_groups_fetched(self, db_map_data)[source]
_receive_parameter_definitions_fetched(self, db_map_data)[source]
_receive_parameter_definition_tags_fetched(self, db_map_data)[source]
_receive_parameter_values_fetched(self, db_map_data)[source]
_receive_parameter_value_lists_fetched(self, db_map_data)[source]
_receive_parameter_tags_fetched(self, db_map_data)[source]
_emit_finished_signal(self)[source]