IShapeFactory.h
Go to the documentation of this file.
1 #ifndef iview_IShapeFactory_included
2 #define iview_IShapeFactory_included
3 
4 
5 // ACF includes
6 #include <i2d/IObject2d.h>
7 
8 #include <iview/IShape.h>
9 
10 
11 namespace iview
12 {
13 
14 
18 class IShapeFactory: virtual public istd::IPolymorphic
19 {
20 public:
32  virtual IShape* CreateShape(const istd::IChangeable* objectPtr, bool connectToModel = false) const = 0;
33 };
34 
35 
36 } // namespace iview
37 
38 
39 #endif // !iview_IShapeFactory_included
40 
41 
Common interface for data model objects, which can be changed.
Definition: IChangeable.h:24
Base interface for all used interfaces and implementations.
Definition: IPolymorphic.h:17
Common interface for all display console shapes.
Definition: IShape.h:27
Interface for creation of visualization shapes of some geometrical object.
Definition: IShapeFactory.h:18
virtual IShape * CreateShape(const istd::IChangeable *objectPtr, bool connectToModel=false) const =0
Create a graphical representation of the given 2D-object object.

© 2007-2017 Witold Gantzke and Kirill Lepskiy