|LiveHubEngine(QObject *parent = 0)|
|void||setWorkspace(const QString &path)|
|void||setActivePath(const LiveDocument &path)|
|void||activateDocument(const LiveDocument &document)|
|void||fileChanged(const LiveDocument &document)|
|void||publishFile(const LiveDocument &document)|
|void||workspaceChanged(const QString &workspace)|
The LiveHubEngine class watches over a workspace and notifies a node on changes
The live hub watches over a workspace and notifies a live node about changed files. A node can run on the same device or even on a remote device using a RemotePublisher.
Member Function Documentation
Standard constructor using parent as parent
[signal] void LiveHubEngine::activateDocument(const LiveDocument &document)
The signal is emitted when the document identified by document has been activated
LiveDocument LiveHubEngine::activePath() const
Returns the active Document
See also setActivePath().
[signal] void LiveHubEngine::fileChanged(const LiveDocument &document)
This signal is emitted during publishing a directory to inform a connected node that document has changed on the hub.
[signal] void LiveHubEngine::publishFile(const LiveDocument &document)
This signal is emitted during publishing the directory to inform a connected node to publish the document to the remote device form the hub
Publish the whole workspace to a connected node.
[slot] void LiveHubEngine::setActivePath(const LiveDocument &path)
Sets the active document path to path. Emits activateDocument() with this path.
See also activePath().
Sets the file publishing to on
Sets the workspace folder to watch over to path
See also workspace().
Returns the current workspace
See also setWorkspace().
The signal is emitted when the workspace identified by workspace has changed
© 2016 Pelagicore AG. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.