Package conduit :: Package modules :: Module TestModule :: Class TestConflict
[hide private]

Class TestConflict

source code


Instance Methods [hide private]
 
__init__(self, *args) source code
 
put(self, data, overwrite, LUID=None)
Stores data.
source code

Inherited from _TestBase: configure, get_UID, get_configuration, initialize

Inherited from _TestBase (private): _change_detected

Inherited from dataproviders.DataProvider.DataProviderBase: emit, emit_change_detected, finish, get_configuration_xml, get_input_conversion_args, get_input_type, get_name, get_output_conversion_args, get_output_type, get_status, is_busy, is_configured, refresh, set_configuration, set_configuration_xml, set_status, uninitialize

Inherited from dataproviders.DataProvider.DataSink: delete

Class Variables [hide private]
  _name_ = "Test Conflict"
  _description_ = "Raises a Conflict"
  _category_ = DataProviderCategory.DataProviderCategory("Test")
  _module_type_ = "sink"
  _in_type_ = "test_type"
  _out_type_ = "test_type"
  _icon_ = "dialog-warning"

Inherited from _TestBase: _configurable_

Inherited from dataproviders.DataProvider.DataProviderBase: __gsignals__

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 
Overrides: _TestBase.__init__

put(self, data, overwrite, LUID=None)

source code 

Stores data. The derived class is responsible for checking if putData conflicts.

In the case of a two-way datasource, the derived type should consider the overwrite parameter, which if True, should allow the dp to replace a datatype instance if one is found at the existing location

Derived classes should call this function to ensure the dataprovider status is updated.
Overrides: dataproviders.DataProvider.DataSink.put
(inherited documentation)