IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseSyncProcessor.h
1 // BaseSyncProcessor.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKBASEPROCESSING_BASESYNCPROCESSOR_H__
16 #define __IPSDKBASEPROCESSING_BASESYNCPROCESSOR_H__
17 
18 #include <IPSDKBaseProcessing/Processor/BaseProcessor.h>
19 
20 namespace ipsdk {
21 namespace processor {
22 
25 
27 {
28  // declare serial class
30 
31 protected:
34 
35 public:
37  virtual ~BaseSyncProcessor() = 0;
38 
39 // methods
40 public:
42  eProcessorType getProcessorType() const;
43 
44 protected:
47  virtual core::ExecResult mainProcess() = 0;
48 
49 private:
52  ExecResultDerived runDerived();
53 
55  using BaseComplexAction::execInitProcess;
56  using BaseComplexAction::execEndProcess;
57 
58 // attributes
59 protected:
60 
61 };
62 
65 
66 inline eProcessorType
68 {
70 }
71 
74 
75 } // end of namespace processor
76 } // end of namespace ipsdk
77 
78 #endif // __IPSDKBASEPROCESSING_BASESYNCPROCESSOR_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
eProcessorType getProcessorType() const
retrieve processor type
Definition: BaseSyncProcessor.h:67
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:97
Base class for processor class.
Definition: BaseProcessor.h:43
Base class for synchronous processors.
Definition: BaseSyncProcessor.h:26
eProcessorType
Enumerate describing processor type.
Definition: ProcessorTypes.h:37
synchronous processors
Definition: ProcessorTypes.h:39