Skip to content
Snippets Groups Projects
Commit e531d6ad authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

WIP Incorporate the state machine

parent 727bb82b
No related branches found
No related tags found
1 merge request!157Kfpackmanager
This commit is part of merge request !157. Comments created here will be created in the context of that merge request.
This diff is collapsed.
...@@ -101,12 +101,10 @@ class ProcessorMotion : public ProcessorBase ...@@ -101,12 +101,10 @@ class ProcessorMotion : public ProcessorBase
{ {
public: public:
typedef enum { typedef enum {
FIRST_TIME_WITH_PACK, RUNNING_WITHOUT_PACK,
FIRST_TIME_WITHOUT_PACK, RUNNING_WITH_PACK_BEFORE_ORIGIN,
SECOND_TIME_WITH_PACK, RUNNING_WITH_PACK_ON_ORIGIN,
SECOND_TIME_WITHOUT_PACK, RUNNING_WITH_PACK_AFTER_ORIGIN
RUNNING_WITH_PACK,
RUNNING_WITHOUT_PACK
} ProcessingStep ; } ProcessingStep ;
protected: protected:
...@@ -235,9 +233,9 @@ class ProcessorMotion : public ProcessorBase ...@@ -235,9 +233,9 @@ class ProcessorMotion : public ProcessorBase
*/ */
virtual void postProcess() { }; virtual void postProcess() { };
KFPackPtr selectPack(const CaptureBasePtr & _cap); KFPackPtr selectPackBefore(const CaptureBasePtr & _cap);
void computeProcessingStep(); KFPackPtr computeProcessingStep();
// These are the pure virtual functions doing the mathematics // These are the pure virtual functions doing the mathematics
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment