IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseComplexAction.h
1 // BaseComplexAction.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKCORE_BASECOMPLEXACTION_H__
16 #define __IPSDKCORE_BASECOMPLEXACTION_H__
17 
18 #include <IPSDKCore/Processing/Action/BaseAction.h>
19 
20 namespace ipsdk {
21 namespace core {
22 
25 
27 {
28  // declare serial class
30 
31 protected:
34 
35 public:
37  virtual ~BaseComplexAction() = 0;
38 
39 // methods
40 public:
42  bool isComplexAction() const;
43 
44 protected:
48 
52 
54  ExecResult execInitProcess();
55 
57  ExecResult execEndProcess();
58 
59 // attributes
60 private:
61 
62 };
63 
66 
67 inline bool
69 {
70  return true;
71 }
72 
75 
76 } // end of namespace core
77 } // end of namespace ipsdk
78 
79 #endif // __IPSDKCORE_BASECOMPLEXACTION_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:97
#define IPSDKCORE_API
Import/Export macro for library IPSDKCore.
Definition: IPSDKCoreExports.h:27
virtual ExecResult endProcess()
first method called for processing end purpose
Definition: BaseComplexAction.h:51
Base class for library complex actions.
Definition: BaseComplexAction.h:26
ProcessingResult< eExecutionResult > ExecResult
type used to retrieve an execution result
Definition: ProcessingTypes.h:65
Execution is successful.
Definition: ProcessingTypes.h:53
bool isComplexAction() const
retrieve action main complexity flag
Definition: BaseComplexAction.h:68
virtual ExecResult initProcess()
first method called for processing initialization purpose
Definition: BaseComplexAction.h:47
Base class for library actions.
Definition: BaseAction.h:43