diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2014-12-21 15:53:34 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2014-12-22 12:16:54 +0100 |
commit | b5e16f7d6bd643aec419e108c3bc0cc6899af075 (patch) | |
tree | 2660cd486d1d8269e051222abe7721cae2e4bfab /src/core/qchangearbiter.cpp | |
parent | c4dd952aca5c75deb8a39561b4844a62889c84b7 (diff) |
Add \inmodule for QChangeArbiter and add namespace
Also make comment format more consistent by removing leading asterisks.
Change-Id: Iacd355add1faf8756a2d95701239363969d18d23
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/qchangearbiter.cpp')
-rw-r--r-- | src/core/qchangearbiter.cpp | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/src/core/qchangearbiter.cpp b/src/core/qchangearbiter.cpp index 928109fcd..dd4b2ddd7 100644 --- a/src/core/qchangearbiter.cpp +++ b/src/core/qchangearbiter.cpp @@ -57,25 +57,24 @@ QT_BEGIN_NAMESPACE namespace Qt3D { /*! - * \class QChangeArbiter - * \namespace Qt3D - * \since 5.4 - * - * \brief Act as a messages router between observables and observers. - * Observables can be of two types : QNode observables and QObservableInterfaces. - * QNode observables notifications are sent from the frontend QNode to the backend observers. - * QObservableInterface notifications are sent from backend to backend observers and/or backend to QPostman, - * the QPostman to deliver the messages to the frontend QNode. - * - * QNode observables are registered automatically. However QObservableInterface have to be registered manually - * by providing the NodeUuid of the frontend QNode that observables is mapped to. - * - * Observers can be registered to receive messages from a QObservableInterface/QNode observable by providing a QNode NodeUuid. - * When a notification from a QObservableInterface is received, it is then sent to all observers observing the - * QNode NodeUuid as well as the QPostman to update the frontend QNode. - */ + \class Qt3D::QChangeArbiter + \inmodule Qt3DCore + \since 5.5 + \brief Act as a messages router between observables and observers. + Observables can be of two types: QNode observables and QObservableInterfaces. + QNode notifications are sent from the frontend QNode and delivered to the backend observers. + QObservableInterface notifications are sent from backend nodes to backend observers and/or to the + registered QPostman, which in turn delivers the notifications to the target frontend QNode. + + QNode observables are registered automatically. However QObservableInterface object have to be registered manually + by providing the QNodeId of the corresponding frontend QNode. + + Observers can be registered to receive messages from a QObservableInterface/QNode observable by providing a QNode NodeUuid. + When a notification from a QObservableInterface is received, it is then sent to all observers observing the + QNode NodeUuid as well as the QPostman to update the frontend QNode. +*/ QChangeArbiter::QChangeArbiter(QObject *parent) : QObject(parent) , m_mutex(QMutex::Recursive) |