ICF 3.1.1.10
Technical documentation of ICF Libraries
IModelTeachController.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef iinsp_IModelTeachController_included
7#define iinsp_IModelTeachController_included
8
9
10// ICF includes
11#include <istd/IChangeable.h>
12#include <iprm/IParamsSet.h>
13
14
15namespace iinsp
16{
17
18
23{
24public:
32 virtual bool IsModelTeachable(
33 const iprm::IParamsSet& modelParams,
34 const iprm::IParamsSet* modelDataPtr = nullptr,
35 bool beQuiet = false,
36 bool* needUserInteractionPtr = nullptr) const = 0;
44 virtual bool DoModelTeach(
45 const iprm::IParamsSet& modelParams,
46 iprm::IParamsSet& result,
47 bool beQuiet = false) const = 0;
48
52 virtual void ResetModelData(iprm::IParamsSet& result) const = 0;
53
57 virtual bool IsModelDataValid(const iprm::IParamsSet& modelData) const = 0;
58};
59
60
61} // namespace iinsp
62
63
64#endif // !iinsp_IModelTeachController_included
65
66
Interface for someone controlling teaching of model data.
virtual void ResetModelData(iprm::IParamsSet &result) const =0
Clear all data of the model.
virtual bool IsModelDataValid(const iprm::IParamsSet &modelData) const =0
Check if the model data are valid.
virtual bool DoModelTeach(const iprm::IParamsSet &modelParams, iprm::IParamsSet &result, bool beQuiet=false) const =0
Teach the model using some input parameters.
virtual bool IsModelTeachable(const iprm::IParamsSet &modelParams, const iprm::IParamsSet *modelDataPtr=nullptr, bool beQuiet=false, bool *needUserInteractionPtr=nullptr) const =0
Check of it is possible to teach the model using some parameters.
Set of general parameters.
Definition IParamsSet.h:29
Common interface for data model objects, which can be changed.
Definition IChangeable.h:32
Library containing inspection related classes and components.

© Witold Gantzke and Kirill Lepskiy