Public Types | Public Member Functions | List of all members
iproc::TSyncProcessorWrap< Base > Class Template Reference

Wrapper of iproc::IProcessor for simple synchrone processor implementations. More...

#include <TSyncProcessorWrap.h>

Inheritance diagram for iproc::TSyncProcessorWrap< Base >:
iipr::CRectDerivativeProcessor iproc::CCascadedProcessorComp iproc::CIterativeProcessorComp iproc::TSyncProcessorCompBase< Base, Interface > iipr::CRectDerivativeProcessorComp ifileproc::CBitmapPreviewGeneratorComp ifileproc::CFileListConverterComp iipr::CAdaptiveImageBinarizeProcessorComp iipr::CCheckerboardPatternGeneratorComp iipr::CGrayToRgbProcessorComp iipr::CImageBinarizeProcessorComp iipr::CImageCropDecalibrateProcessorComp iipr::CImageFlipProcessorComp iipr::CImageProcessorCompBase iipr::CImageRegionProcessorCompBase iipr::CRingPatternGeneratorComp

Public Types

typedef Base BaseClass
 

Public Member Functions

 TSyncProcessorWrap ()
 
virtual int GetProcessorState (const iprm::IParamsSet *paramsPtr) const
 
virtual bool AreParamsAccepted (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const
 
virtual int BeginTask (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 
virtual int WaitTaskFinished (int taskId=-1, double timeoutTime=-1, bool killOnTimeout=true)
 
virtual void CancelTask (int taskId=-1)
 
virtual int GetReadyTask ()
 
virtual int GetTaskState (int taskId=-1) const
 
virtual void InitProcessor (const iprm::IParamsSet *paramsPtr)
 

Detailed Description

template<class Base>
class iproc::TSyncProcessorWrap< Base >

Wrapper of iproc::IProcessor for simple synchrone processor implementations.

Asynchrone processing with BeginTask and WaitTaskFinished is redirected to simple synchrone processing by method DoProcessing. All you have to implement from whole interface iproc::IProcessor is method DoProcessing.

Definition at line 23 of file TSyncProcessorWrap.h.

Member Typedef Documentation

template<class Base>
typedef Base iproc::TSyncProcessorWrap< Base >::BaseClass

Definition at line 26 of file TSyncProcessorWrap.h.

Constructor & Destructor Documentation

template<class Base >
iproc::TSyncProcessorWrap< Base >::TSyncProcessorWrap ( )

Definition at line 61 of file TSyncProcessorWrap.h.

Member Function Documentation

template<class Base >
bool iproc::TSyncProcessorWrap< Base >::AreParamsAccepted ( const iprm::IParamsSet paramsPtr,
const istd::IPolymorphic inputPtr,
const istd::IChangeable outputPtr 
) const
virtual

Reimplemented in iproc::CCascadedProcessorComp.

Definition at line 77 of file TSyncProcessorWrap.h.

template<class Base >
int iproc::TSyncProcessorWrap< Base >::BeginTask ( const iprm::IParamsSet paramsPtr,
const istd::IPolymorphic inputPtr,
istd::IChangeable outputPtr,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual

Definition at line 87 of file TSyncProcessorWrap.h.

template<class Base >
void iproc::TSyncProcessorWrap< Base >::CancelTask ( int  taskId = -1)
virtual

Definition at line 136 of file TSyncProcessorWrap.h.

template<class Base >
int iproc::TSyncProcessorWrap< Base >::GetProcessorState ( const iprm::IParamsSet paramsPtr) const
virtual

Reimplemented in iproc::CCascadedProcessorComp.

Definition at line 70 of file TSyncProcessorWrap.h.

References iproc::IProcessor::PS_READY.

template<class Base >
int iproc::TSyncProcessorWrap< Base >::GetReadyTask ( )
virtual

Definition at line 148 of file TSyncProcessorWrap.h.

template<class Base >
int iproc::TSyncProcessorWrap< Base >::GetTaskState ( int  taskId = -1) const
virtual

Definition at line 160 of file TSyncProcessorWrap.h.

References iproc::IProcessor::TS_NONE.

template<class Base >
void iproc::TSyncProcessorWrap< Base >::InitProcessor ( const iprm::IParamsSet paramsPtr)
virtual

Reimplemented in iproc::CCascadedProcessorComp.

Definition at line 186 of file TSyncProcessorWrap.h.

template<class Base >
int iproc::TSyncProcessorWrap< Base >::WaitTaskFinished ( int  taskId = -1,
double  timeoutTime = -1,
bool  killOnTimeout = true 
)
virtual

Definition at line 103 of file TSyncProcessorWrap.h.

References iproc::IProcessor::TS_NONE.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy