IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseAsync3Processor.h
1 // BaseAsync3Processor.h:
3 // ----------------------
4 //
14 
15 #ifndef __IPSDKBASEPROCESSING_BASEASYNC3PROCESSOR_H__
16 #define __IPSDKBASEPROCESSING_BASEASYNC3PROCESSOR_H__
17 
18 #include <IPSDKBaseProcessing/Processor/Instances/BaseAsyncProcessor.h>
19 
20 namespace ipsdk {
21 namespace processor {
22 
25 
27 {
28  // declare serial class
30 
31 protected:
34 
35 public:
37  virtual ~BaseAsync3Processor() = 0;
38 
39 // methods
40 public:
42  eProcessorType getProcessorType() const;
43 
44 protected:
49  virtual RetrievalResult retrieveFirstProvider(const core::BasePriority& priority,
50  core::ActionProviderPtr& pProvider) = 0;
51 
56  virtual RetrievalResult retrieveSecondProvider(const core::BasePriority& priority,
57  core::ActionProviderPtr& pProvider) = 0;
58 
63  virtual RetrievalResult retrieveThirdProvider(const core::BasePriority& priority,
64  core::ActionProviderPtr& pProvider) = 0;
65 
66 private:
71  ipUInt32 retrieveSequenceInfo();
72 
77  RetrievalResult retrieveProvider(const core::BasePriority& priority,
78  const ipUInt32 curProviderIdx,
79  const ipUInt32 curNbIter,
80  core::ActionProviderPtr& pProvider);
81 
82 // attributes
83 protected:
84 
85 };
86 
89 
90 inline eProcessorType
92 {
94 }
95 
98 
99 } // end of namespace processor
100 } // end of namespace ipsdk
101 
102 #endif // __IPSDKBASEPROCESSING_BASEASYNC3PROCESSOR_H__
Class allowing to encapsulate a typed process result associated to a string description.
Definition: ProcessingResult.h:28
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
Base class for asynchronous processors using three providers.
Definition: BaseAsync3Processor.h:26
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:97
Base class for priority encapsulation.
Definition: BasePriority.h:32
Base class for asynchronous processors.
Definition: BaseAsyncProcessor.h:29
eProcessorType
Enumerate describing processor type.
Definition: ProcessorTypes.h:37
boost::shared_ptr< BaseActionProvider > ActionProviderPtr
shared pointer to action provider
Definition: ActionProviderTypes.h:58
eProcessorType getProcessorType() const
retrieve processor type
Definition: BaseAsync3Processor.h:91
asynchronous processors using three providers
Definition: ProcessorTypes.h:45
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53