CDocumentProcessingCommandComp.h
Go to the documentation of this file.
1 #ifndef iprocgui_CDocumentProcessingCommandComp_included
2 #define iprocgui_CDocumentProcessingCommandComp_included
3 
4 
5 // ACF includes
7 
8 
9 namespace iprocgui
10 {
11 
12 
17 {
18 public:
20 
21  I_BEGIN_COMPONENT(CDocumentProcessingCommandComp);
22  I_ASSIGN(m_outputDataCompPtr, "OutputData", "Result of document processing", true, "OutputData");
23  I_ASSIGN(m_outputDataGuiCompPtr, "OutputDataGui", "UI to show the output data object", false, "OutputDataGui");
24  I_END_COMPONENT;
25 
26 protected:
27  // reimplemented (iprocgui::CDocumentProcessingManagerCompBase)
28  void DoDocumentProcessing(const istd::IChangeable* inputDocumentPtr, const QByteArray& documentTypeId);
29 
30 private:
31  I_REF(istd::IChangeable, m_outputDataCompPtr);
32  I_REF(iqtgui::IGuiObject, m_outputDataGuiCompPtr);
33 };
34 
35 
36 } // namespace iproc
37 
38 
39 #endif // !iprocgui_CDocumentProcessingCommandComp_included
iprocgui::CDocumentProcessingManagerCompBase BaseClass
Component to trigger some processing action for the current document.
void DoDocumentProcessing(const istd::IChangeable *inputDocumentPtr, const QByteArray &documentTypeId)
Process the current document.

© 2007-2011 Witold Gantzke and Kirill Lepskiy