ICF 3.1.1.10
Technical documentation of ICF Libraries
CDocumentProcessingCommandComp.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 iprocgui_CDocumentProcessingCommandComp_included
7#define iprocgui_CDocumentProcessingCommandComp_included
8
9
10// ICF includes
12
13
14namespace iprocgui
15{
16
17
22{
23public:
25
26 I_BEGIN_COMPONENT(CDocumentProcessingCommandComp);
27 I_ASSIGN(m_outputDataCompPtr, "OutputData", "Result of document processing", true, "OutputData");
28 I_ASSIGN(m_outputDataGuiCompPtr, "OutputDataGui", "UI to show the output data object", false, "OutputDataGui");
29 I_END_COMPONENT;
30
31protected:
32 // reimplemented (iprocgui::CDocumentProcessingManagerCompBase)
33 void DoDocumentProcessing(const istd::IChangeable* inputDocumentPtr, const QByteArray& documentTypeId) override;
34
35private:
36 I_REF(istd::IChangeable, m_outputDataCompPtr);
37 I_REF(istdgui::IGuiObject, m_outputDataGuiCompPtr);
38};
39
40
41} // namespace iproc
42
43
44#endif // !iprocgui_CDocumentProcessingCommandComp_included
Component to trigger some processing action for the current document.
void DoDocumentProcessing(const istd::IChangeable *inputDocumentPtr, const QByteArray &documentTypeId) override
Process the current document.
iprocgui::CDocumentProcessingManagerCompBase BaseClass
Common interface for data model objects, which can be changed.
Definition IChangeable.h:32
Common interface for GUI objects using in component context.
Definition IGuiObject.h:27
This package contains GUI implementations of data processing.

© Witold Gantzke and Kirill Lepskiy