Public Member Functions | List of all members
iedge::IEdgeLinesProcessor Class Referenceabstract

Interface for edge lines processing. More...

#include <IEdgeLinesProcessor.h>

Inheritance diagram for iedge::IEdgeLinesProcessor:
iproc::IProcessor istd::IPolymorphic

Public Member Functions

virtual bool DoLinesProcessing (const iprm::IParamsSet *paramsPtr, const CEdgeLineContainer &edgeLines, CEdgeLineContainer &result) const =0
 Process set of edge lines to another set of edge lines. More...
 
- 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...
 

Additional Inherited Members

- 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...
 

Detailed Description

Interface for edge lines processing.

Definition at line 19 of file IEdgeLinesProcessor.h.

Member Function Documentation

virtual bool iedge::IEdgeLinesProcessor::DoLinesProcessing ( const iprm::IParamsSet paramsPtr,
const CEdgeLineContainer edgeLines,
CEdgeLineContainer result 
) const
pure virtual

Process set of edge lines to another set of edge lines.

Parameters
edgeLinesset of edge lines used as input.
resultcontainer of result edges lines.
Returns
true if success.

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy