#include <digestdbcontroller.h>
Inheritance diagram for DigestDbController:

Note that the model's pointer is stored internally as a "guarded pointer". Hence, if the model is deleted, our reference to it will be automatically set back to 0.
Warning! We always assert that the model is non-null. Hence, you can't have an instance of a DigestDbController without a DigestDbModel. This is fine in our case and means that we don't need to constantly check if the diagram is null in the release / deployment version (when assertions are stripped).
| DigestDbController::DigestDbController | ( | QObject * | parent = 0 |
) |
Constructs a Digest database controller with the given parent.
| DigestDbController::DigestDbController | ( | DigestDbModel * | model, | |
| QObject * | parent = 0 | |||
| ) |
Constructs a Digest database controller with the given parent and model.
| DigestDbModel * DigestDbController::digestDbModel | ( | ) | const |
Convenience method.
Returns a cached guarded pointer that has been dynamically cast to DigestDbModel* from AbstractModel*.
See also AbstractController::model().
| static MvcModuleId_t DigestDbController::classModuleId | ( | ) | [inline, static] |
Returns MvcDigestDb::id().
Reimplemented from MvcBase.
| virtual MvcModuleId_t DigestDbController::moduleId | ( | ) | const [inline, virtual] |
Returns classModuleId().
Reimplemented from MvcBase.
| virtual void DigestDbController::customEvent | ( | QEvent * | e | ) | [inline, protected, virtual] |
| void DigestDbController::dispatchEvent | ( | CEvent * | event | ) | [protected, virtual] |
The controller's event dispatcher.
Asserts that the event is non-null.
Warning! It is assumed that the events have their correct type set (as it uses static casts).
Reimplemented from AbstractController.
| void DigestDbController::changeModelEvent | ( | CChangeModelEvent * | event | ) | [protected, virtual] |
Re-implemented, as to also have the pointer returned by digestDbModel() updated.
Asserts that the event is non-null.
Reimplemented from AbstractController.
| void DigestDbController::classAddEvent | ( | CClassAddEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::classUpdateEvent | ( | CClassUpdateEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::classesRemoveEvent | ( | CClassesRemoveEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::collectionAddEvent | ( | CCollectionAddEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::collectionUpdateEvent | ( | CCollectionUpdateEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::collectionsRemoveEvent | ( | CCollectionsRemoveEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::experimentAddEvent | ( | CExperimentAddEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::experimentUpdateEvent | ( | CExperimentUpdateEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::experimentsRemoveEvent | ( | CExperimentsRemoveEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::gestureAddEvent | ( | CGestureAddEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::gestureUpdateEvent | ( | CGestureUpdateEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::gesturesChangeClassesEvent | ( | CGesturesChangeClassesEvent * | ev | ) | [protected, virtual] |
Note: If an ID appears in both CGesturesChangeClassesEvent::addSet() and CGesturesChangeClassesEvent::removeSet(), then the the ID will be in the final classes set, as it will first be removed and then immediately added. However, the two sets will be sent verbatim to the views.
Asserts that the event is non-null.
| void DigestDbController::gesturesChangeCollectionsEvent | ( | CGesturesChangeCollectionsEvent * | ev | ) | [protected, virtual] |
Note: If an ID appears in both CGesturesChangeCollectionsEvent::addSet() and CGesturesChangeCollectionsEvent::removeSet(), then the the ID will be in the final collections set, as it will first be removed and then immediately added. However, the two sets will be sent verbatim to the views.
Asserts that the event is non-null.
| void DigestDbController::gesturesRemoveEvent | ( | CGesturesRemoveEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::trainedRecogAddEvent | ( | CTrainedRecogAddEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::trainedRecogUpdateEvent | ( | CTrainedRecogUpdateEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
| void DigestDbController::trainedRecogsRemoveEvent | ( | CTrainedRecogsRemoveEvent * | event | ) | [protected, virtual] |
Asserts that the event is non-null.
1.5.2