IPatternController.h
Go to the documentation of this file.
1 #ifndef iipr_IPatternController_included
2 #define iipr_IPatternController_included
3 
4 
5 #include "istd/IChangeable.h"
6 
7 
8 namespace iipr
9 {
10 
11 
13 {
14 public:
15  static const int CF_PATTERN_LEARNED = (1 << 20);
16 
20  virtual bool TeachPattern(const istd::IChangeable* sourceObjectPtr = NULL) = 0;
21 
25  virtual void ResetPattern() = 0;
26 
30  virtual bool IsPatternValid() const = 0;
31 
35  virtual const iser::ISerializable* GetPatternObject() const = 0;
36 };
37 
38 
39 } // namespace iipr
40 
41 
42 #endif // !iipr_IPatternController_included
virtual bool IsPatternValid() const =0
Get true of the pattern is valid.
static const int CF_PATTERN_LEARNED
virtual void ResetPattern()=0
Clear all pattern features.
virtual bool TeachPattern(const istd::IChangeable *sourceObjectPtr=NULL)=0
Do teaching of the pattern.
virtual const iser::ISerializable * GetPatternObject() const =0
Get pattern object.

© 2007-2011 Witold Gantzke and Kirill Lepskiy