ImFusion SDK 4.3
EventHandlerWithTarget Class Referenceabstract

#include <ImFusion/CT/EventHandler/EventHandler.h>

Event handler for handlers which support to set a target event while the computation is independent of the Event::Phase. More...

+ Inheritance diagram for EventHandlerWithTarget:

Detailed Description

Event handler for handlers which support to set a target event while the computation is independent of the Event::Phase.

Public Member Functions

 EventHandlerWithTarget (EventHandler::Event targetEvent)
 
- Public Member Functions inherited from EventHandler
void compute (SharedImageSet &x, Event event, Progress *progress=nullptr, const Selection &sel=Selection())
 
void setEnabled (bool enabled)
 
bool getEnabled () const
 
- Public Member Functions inherited from Configurable
virtual void configure (const Properties *p)
 Configure this object instance by de-serializing the given Properties.
 
virtual void configuration (Properties *p) const
 Serialize the current object configuration into the given Properties object.
 
virtual void configureDefaults ()
 Retrieve the properties of this object, replaces values with their defaults and sets it again.
 
void registerParameter (ParameterBase *param)
 Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
 
void unregisterParameter (const ParameterBase *param)
 Remove the given Parameter or SubProperty from the list of registered parameters.
 
 Configurable (const Configurable &rhs)
 
 Configurable (Configurable &&rhs) noexcept
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Protected Member Functions

void startImpl (SharedImageSet &x, Event event, Progress *progress) override
 
void preIterationImpl (SharedImageSet &x, Event event, Progress *progress) override
 
void preSubIterationImpl (SharedImageSet &x, Event event, Progress *progress, const Selection &sel) override
 
void postSubIterationImpl (SharedImageSet &x, Event event, Progress *progress, const Selection &sel) override
 
void postIterationImpl (SharedImageSet &x, Event event, Progress *progress) override
 
void endImpl (SharedImageSet &x, Event event, Progress *progress) override
 
virtual void computeEvent (SharedImageSet &x, Progress *progress)=0
 

Additional Inherited Members

- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 
- Protected Attributes inherited from EventHandler
bool m_enabled = true
 
- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Function Documentation

◆ startImpl()

void startImpl ( SharedImageSet & x,
Event event,
Progress * progress )
overrideprotectedvirtual

Reimplemented from EventHandler.

◆ preIterationImpl()

void preIterationImpl ( SharedImageSet & x,
Event event,
Progress * progress )
overrideprotectedvirtual

Reimplemented from EventHandler.

◆ preSubIterationImpl()

void preSubIterationImpl ( SharedImageSet & x,
Event event,
Progress * progress,
const Selection & sel )
overrideprotectedvirtual

Reimplemented from EventHandler.

◆ postSubIterationImpl()

void postSubIterationImpl ( SharedImageSet & x,
Event event,
Progress * progress,
const Selection & sel )
overrideprotectedvirtual

Reimplemented from EventHandler.

◆ postIterationImpl()

void postIterationImpl ( SharedImageSet & x,
Event event,
Progress * progress )
overrideprotectedvirtual

Reimplemented from EventHandler.

◆ endImpl()

void endImpl ( SharedImageSet & x,
Event event,
Progress * progress )
overrideprotectedvirtual

Reimplemented from EventHandler.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close