SyncManager A singleton to store websockets who want to be registered as listener of QGIS extent changes.
More...
SyncManager A singleton to store websockets who want to be registered as listener of QGIS extent changes.
def vizitown_plugin.vt_as_sync.SyncManager.__init__ |
( |
|
self) | |
|
def vizitown_plugin.vt_as_sync.SyncManager.add_listener |
( |
|
self, |
|
|
|
ws |
|
) |
| |
add_listener method Record a websocket as listener for sync
- Parameters
-
ws | Web socket where the listener listen |
def vizitown_plugin.vt_as_sync.SyncManager.notify_extent_change |
( |
|
self, |
|
|
|
extent |
|
) |
| |
notify_extent_change mathod Send new extent with all websockets stored
- Parameters
-
extent | the new extent to synchronized the view |
def vizitown_plugin.vt_as_sync.SyncManager.remove_all_listener |
( |
|
self) | |
|
remove_all_listener mathod Delete a listener for sync
vizitown_plugin.vt_as_sync.SyncManager.websockets |
The documentation for this class was generated from the following file: