ICF 3.1.1.10
Technical documentation of ICF Libraries
IPatternController.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 iipr_IPatternController_included
7#define iipr_IPatternController_included
8
9
10#include <istd/IChangeable.h>
11
12
13namespace iipr
14{
15
16
18{
19public:
24 {
28 CF_PATTERN_LEARNED = 0x456d447
29 };
30
34 virtual bool TeachPattern(const istd::IChangeable* sourceObjectPtr = nullptr) = 0;
35
39 virtual void ResetPattern() = 0;
40
44 virtual bool IsPatternValid() const = 0;
45
49 virtual const iser::ISerializable* GetPatternObject() const = 0;
50};
51
52
53} // namespace iipr
54
55
56#endif // !iipr_IPatternController_included
virtual void ResetPattern()=0
Clear all pattern features.
virtual bool TeachPattern(const istd::IChangeable *sourceObjectPtr=nullptr)=0
Do teaching of the pattern.
ChangeFlags
Data model change notification flags.
@ CF_PATTERN_LEARNED
Supplier result changed.
virtual const iser::ISerializable * GetPatternObject() const =0
Get pattern object.
virtual bool IsPatternValid() const =0
Get true of the pattern is valid.
Common class for all classes which objects can be archived or restored from archive.
Common interface for data model objects, which can be changed.
Definition IChangeable.h:32
Contains the image processing classes.

© Witold Gantzke and Kirill Lepskiy