IModelTeachController.h
Go to the documentation of this file.
1 #ifndef iinsp_IModelTeachController_included
2 #define iinsp_IModelTeachController_included
3 
4 
5 // ACF includes
6 #include <istd/IChangeable.h>
7 #include <iprm/IParamsSet.h>
8 
9 
10 namespace iinsp
11 {
12 
13 
18 {
19 public:
27  virtual bool IsModelTeachable(
28  const iprm::IParamsSet& modelParams,
29  const iprm::IParamsSet* modelDataPtr = NULL,
30  bool beQuiet = false,
31  bool* needUserInteractionPtr = NULL) const = 0;
39  virtual bool DoModelTeach(
40  const iprm::IParamsSet& modelParams,
41  iprm::IParamsSet& result,
42  bool beQuiet = false) const = 0;
43 
47  virtual void ResetModelData(iprm::IParamsSet& result) const = 0;
48 
52  virtual bool IsModelDataValid(const iprm::IParamsSet& modelData) const = 0;
53 };
54 
55 
56 } // namespace iinsp
57 
58 
59 #endif // !iinsp_IModelTeachController_included
60 
61 
virtual bool IsModelDataValid(const iprm::IParamsSet &modelData) const =0
Check if the model data are valid.
virtual void ResetModelData(iprm::IParamsSet &result) const =0
Clear all data of the model.
virtual bool IsModelTeachable(const iprm::IParamsSet &modelParams, const iprm::IParamsSet *modelDataPtr=NULL, bool beQuiet=false, bool *needUserInteractionPtr=NULL) const =0
Check of it is possible to teach the model using some parameters.
Interface for someone controlling teaching of model data.
#define NULL
virtual bool DoModelTeach(const iprm::IParamsSet &modelParams, iprm::IParamsSet &result, bool beQuiet=false) const =0
Teach the model using some input parameters.

© 2007-2017 Witold Gantzke and Kirill Lepskiy