6#ifndef iproc_IProcessor_included
7#define iproc_IProcessor_included
76 const istd::IPolymorphic* inputPtr,
105 const istd::IPolymorphic* inputPtr,
107 bool allowAsync =
true,
Set of general parameters.
Represent state of asynchronous operation.
Interface for all synchrone and asynchrone processors with "push data" model.
virtual bool AreParamsAccepted(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const =0
Check if specified parameter set is accepted for this processor.
virtual int GetProcessorState(const iprm::IParamsSet *paramsPtr) const =0
Get state of this processor for processing of specified parameters.
virtual void InitProcessor(const iprm::IParamsSet *paramsPtr, bool doReset)=0
Init processor and give him all or part of parameters.
@ MI_BAD_PARAMS
Bad processor parameter.
virtual CTaskState DoProcessing(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, bool allowAsync=true, iproc::IProgressManager *progressManagerPtr=nullptr)=0
Do synchronized processing.
ProcessorState
State of processing.
@ PS_INITIALIZATION
Processor is during initalisation.
@ PS_UNKNOWN
Processing state is unknown or not initialized.
@ PS_READY
Processor is initialized and ready.
@ PS_INVALID
Processor cannot be initialized.
Consume information about progress of some process.
Common interface for data model objects, which can be changed.
This namespace containes interfaces and implementation of data processing concepts.