Public Types | Public Member Functions | List of all members
iipr::ICaliperProcessor Class Referenceabstract

#include <ICaliperProcessor.h>

Inheritance diagram for iipr::ICaliperProcessor:
iproc::IProcessor istd::IPolymorphic

Public Types

enum  FeatureTypeId { FTI_CALIPER_FEATURE = 6572 }
 
- Public Types inherited from iproc::IProcessor
enum  MessageId { MI_BAD_PARAMS = 0x16372620, MI_PROCESSING_ERROR }
 
enum  ProcessorState { PS_UNKNOWN, PS_INITIALIZATION, PS_READY, PS_INVALID }
 State of processing. More...
 
enum  TaskState {
  TS_NONE, TS_WAIT, TS_OK, TS_CANCELED,
  TS_INVALID
}
 Describe state of task. More...
 

Public Member Functions

virtual bool DoCaliper (const imeas::IDataSequence &derivative, const ICaliperParams *paramsPtr, IFeaturesConsumer &results)=0
 
- Public Member Functions inherited from iproc::IProcessor
virtual int GetProcessorState (const iprm::IParamsSet *paramsPtr) const =0
 Get state of this processor for processing of specified parameters. More...
 
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. More...
 
virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)=0
 Do synchronized processing. More...
 
virtual int BeginTask (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)=0
 Begin new task for this processor and add them to queue. More...
 
virtual int WaitTaskFinished (int taskId=-1, double timeoutTime=-1, bool killOnTimeout=true)=0
 Wait for task is finished. More...
 
virtual void CancelTask (int taskId=-1)=0
 Remove task from queue. More...
 
virtual int GetReadyTask ()=0
 Get the ID of any ready task. More...
 
virtual int GetTaskState (int taskId=-1) const =0
 Get actual task state. More...
 
virtual void InitProcessor (const iprm::IParamsSet *paramsPtr)=0
 Init processor to optimal process with specified params. More...
 

Detailed Description

Definition at line 21 of file ICaliperProcessor.h.

Member Enumeration Documentation

Enumerator
FTI_CALIPER_FEATURE 

Unique ID of the caliper feature.

Definition at line 24 of file ICaliperProcessor.h.

Member Function Documentation

virtual bool iipr::ICaliperProcessor::DoCaliper ( const imeas::IDataSequence derivative,
const ICaliperParams paramsPtr,
IFeaturesConsumer results 
)
pure virtual

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy