This interface includes two abstratct functions providing classes which use this interface a uniform way to handle database state changes.
Definition at line 463 of file cdbVisCore.py.
Public Member Functions | |
def | __init__ |
def | OnDbUpdate |
def | DbUpdate |
def | GetErrorMessage |
def | SetErrorMessage |
Private Attributes | |
__errormessage |
def cdbVisCore::dbUpdate::__init__ | ( | self | ) |
def cdbVisCore::dbUpdate::OnDbUpdate | ( | self, | ||
cdb, | ||||
evtReason | ||||
) |
Execute commands if database stae changed
Reimplemented in mainWindow::mainWindow.
Definition at line 472 of file cdbVisCore.py.
def cdbVisCore::dbUpdate::DbUpdate | ( | self, | ||
evtReason | ||||
) |
Call the classes to be informed of the update
Reimplemented in mainWindow::mainWindow.
Definition at line 477 of file cdbVisCore.py.
def cdbVisCore::dbUpdate::GetErrorMessage | ( | self | ) |
Reimplemented in objectclasses::DBInfo, objectclasses::SubSystem, objectclasses::DeviceType, objectclasses::Device, objectclasses::Link, objectclasses::LinkType, objectclasses::Port, objectclasses::Spare_Device, objectclasses::Spare_Port, and objectclasses::SpareHWType.
Definition at line 480 of file cdbVisCore.py.
def cdbVisCore::dbUpdate::SetErrorMessage | ( | self, | ||
msg | ||||
) |
Reimplemented in objectclasses::DBInfo, objectclasses::SubSystem, objectclasses::DeviceType, objectclasses::Device, objectclasses::Link, objectclasses::LinkType, objectclasses::Port, objectclasses::Spare_Device, objectclasses::Spare_Port, and objectclasses::SpareHWType.
Definition at line 483 of file cdbVisCore.py.
cdbVisCore::dbUpdate::__errormessage [private] |
Reimplemented in objectclasses::DBInfo, objectclasses::SubSystem, objectclasses::DeviceType, objectclasses::Device, objectclasses::Link, objectclasses::LinkType, objectclasses::Port, objectclasses::Spare_Device, objectclasses::Spare_Port, and objectclasses::SpareHWType.
Definition at line 467 of file cdbVisCore.py.