NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::FilterTimedAlgorithm Class Reference

#include <cxFilterTimedAlgorithm.h>

Inheritance diagram for cx::FilterTimedAlgorithm:
cx::ThreadedTimedAlgorithm< bool > cx::TimedBaseAlgorithm

Public Member Functions

 FilterTimedAlgorithm (FilterPtr filter)
 
virtual ~FilterTimedAlgorithm ()
 
FilterPtr getFilter ()
 
- Public Member Functions inherited from cx::ThreadedTimedAlgorithm< bool >
 ThreadedTimedAlgorithm (QString product, int secondsBetweenAnnounce)
 
virtual ~ThreadedTimedAlgorithm ()
 
virtual void execute ()
 
virtual bool isFinished () const
 
virtual bool isRunning () const
 
- Public Member Functions inherited from cx::TimedBaseAlgorithm
 TimedBaseAlgorithm (QString product, int secondsBetweenAnnounce)
 
virtual ~TimedBaseAlgorithm ()
 
virtual QString getProduct () const
 
virtual bool isFinished () const =0
 
virtual bool isRunning () const =0
 

Protected Slots

virtual void preProcessingSlot ()
 
virtual void postProcessingSlot ()
 
- Protected Slots inherited from cx::TimedBaseAlgorithm

Additional Inherited Members

- Signals inherited from cx::TimedBaseAlgorithm
void aboutToStart ()
 emitted at start of execute. Use to perform preprocessing More...
 
void started (int maxSteps)
 emitted at start of run. More...
 
void finished ()
 should be emitted when at the end of postProcessingSlot More...
 
void productChanged ()
 emitted whenever product string has changed More...
 
- Protected Member Functions inherited from cx::ThreadedTimedAlgorithm< bool >
virtual void postProcessingSlot ()=0
 This happens when the thread (calculate) is finished, here non-thread safe functions can be called. More...
 
void generate ()
 
bool getResult ()
 
cxResource_EXPORT void getResult ()
 
cxResource_EXPORT void getResult ()
 
- Protected Member Functions inherited from cx::TimedBaseAlgorithm
void startTiming ()
 
void stopTiming ()
 
QString getSecondsPassedAsString () const
 
- Protected Attributes inherited from cx::TimedBaseAlgorithm
bool mUseDefaultMessages
 

Detailed Description

Wrap a Filter into a TimedAlgorithm

Date
Nov 16, 2012
Author
christiana

Definition at line 30 of file cxFilterTimedAlgorithm.h.

Constructor & Destructor Documentation

◆ FilterTimedAlgorithm()

cx::FilterTimedAlgorithm::FilterTimedAlgorithm ( FilterPtr  filter)

Definition at line 19 of file cxFilterTimedAlgorithm.cpp.

◆ ~FilterTimedAlgorithm()

cx::FilterTimedAlgorithm::~FilterTimedAlgorithm ( )
virtual

Definition at line 26 of file cxFilterTimedAlgorithm.cpp.

Member Function Documentation

◆ getFilter()

FilterPtr cx::FilterTimedAlgorithm::getFilter ( )

Definition at line 29 of file cxFilterTimedAlgorithm.cpp.

◆ postProcessingSlot

void cx::FilterTimedAlgorithm::postProcessingSlot ( )
protectedvirtualslot

Definition at line 39 of file cxFilterTimedAlgorithm.cpp.

◆ preProcessingSlot

void cx::FilterTimedAlgorithm::preProcessingSlot ( )
protectedvirtualslot

Definition at line 34 of file cxFilterTimedAlgorithm.cpp.


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