Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::ProcessorObserver Class Reference

#include <processorobserver.h>

+ Inheritance diagram for inviwo::ProcessorObserver:

Public Member Functions

virtual void onAboutPropertyChange (Property *)
 
virtual void onProcessorInvalidationBegin (Processor *)
 
virtual void onProcessorInvalidationEnd (Processor *)
 
virtual void onProcessorPortAdded (Processor *, Port *)
 
virtual void onProcessorPortRemoved (Processor *, Port *)
 
virtual void onProcessorAboutToProcess (Processor *)
 
virtual void onProcessorFinishedProcess (Processor *)
 
virtual void onProcessorSourceChanged (Processor *)
 
virtual void onProcessorSinkChanged (Processor *)
 
virtual void onProcessorReadyChanged (Processor *)
 
virtual void onProcessorActiveConnectionsChanged (Processor *)
 
virtual void onProcessorStartBackgroundWork (Processor *, size_t)
 Called when a processor initiates a background computation.
 
virtual void onProcessorFinishBackgroundWork (Processor *, size_t)
 Called when a processor finishes a background computation.
 
- Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 
 Observer (Observer &&other)
 
Observeroperator= (Observer &&other)
 
Observeroperator= (const Observer &other)
 
virtual ~Observer ()
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 

Public Attributes

friend ProcessorObservable
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Detailed Description

Processor observer that knows which processor did the notification. Has notification for begin and end of it's invalidation. Inherits from VoidObserver.

See also
ProcessorObservable

Member Function Documentation

◆ onProcessorActiveConnectionsChanged()

virtual void inviwo::ProcessorObserver::onProcessorActiveConnectionsChanged ( Processor * )
inlinevirtual

Called after a processor inport and its connected outport(s) changed active state.

See also
Processor::isConnectionActive

Reimplemented in inviwo::NetworkDebugObserver.

◆ onProcessorFinishBackgroundWork()

virtual void inviwo::ProcessorObserver::onProcessorFinishBackgroundWork ( Processor * ,
size_t  )
inlinevirtual

Called when a processor finishes a background computation.

Reimplemented in inviwo::NetworkDebugObserver, and inviwo::ProcessorGraphicsItem.

◆ onProcessorReadyChanged()

virtual void inviwo::ProcessorObserver::onProcessorReadyChanged ( Processor * )
inlinevirtual

Called after the processor has changed its ready state.

Reimplemented in inviwo::NetworkDebugObserver, and inviwo::ProcessorGraphicsItem.

◆ onProcessorSinkChanged()

virtual void inviwo::ProcessorObserver::onProcessorSinkChanged ( Processor * )
inlinevirtual

Called after the processor has changed its sink state.

Reimplemented in inviwo::NetworkDebugObserver.

◆ onProcessorSourceChanged()

virtual void inviwo::ProcessorObserver::onProcessorSourceChanged ( Processor * )
inlinevirtual

Called after the processor has changed its source state.

Reimplemented in inviwo::NetworkDebugObserver.

◆ onProcessorStartBackgroundWork()

virtual void inviwo::ProcessorObserver::onProcessorStartBackgroundWork ( Processor * ,
size_t  )
inlinevirtual

Called when a processor initiates a background computation.

Reimplemented in inviwo::NetworkDebugObserver, and inviwo::ProcessorGraphicsItem.


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