Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::NetworkDebugObserver Struct Reference

Observes the network and logs. More...

#include <networkdebugobserver.h>

+ Inheritance diagram for inviwo::NetworkDebugObserver:

Public Member Functions

void log (const SourceLocation &loc)
 
void log (const SourceLocation &loc, std::string_view msg)
 
void log (const SourceLocation &loc, std::string_view msg1, std::string_view msg2)
 
virtual void onProcessorNetworkChange () override
 
virtual void onProcessorNetworkEvaluateRequest () override
 
virtual void onProcessorNetworkUnlocked () override
 
virtual void onProcessorNetworkWillAddProcessor (Processor *p) override
 
virtual void onProcessorNetworkDidAddProcessor (Processor *p) override
 
virtual void onProcessorNetworkWillRemoveProcessor (Processor *p) override
 
virtual void onProcessorNetworkDidRemoveProcessor (Processor *p) override
 
virtual void onProcessorNetworkWillAddConnection (const PortConnection &p) override
 
virtual void onProcessorNetworkDidAddConnection (const PortConnection &p) override
 
virtual void onProcessorNetworkWillRemoveConnection (const PortConnection &p) override
 
virtual void onProcessorNetworkDidRemoveConnection (const PortConnection &p) override
 
virtual void onProcessorNetworkWillAddLink (const PropertyLink &l) override
 
virtual void onProcessorNetworkDidAddLink (const PropertyLink &l) override
 
virtual void onProcessorNetworkWillRemoveLink (const PropertyLink &l) override
 
virtual void onProcessorNetworkDidRemoveLink (const PropertyLink &l) override
 
virtual void onProcessorBackgroundJobsChanged (Processor *p, int diff, int total) override
 
virtual void onProcessorNetworkEvaluationBegin () override
 
virtual void onProcessorNetworkEvaluationEnd () override
 
virtual void onAboutPropertyChange (Property *p) override
 
virtual void onProcessorInvalidationBegin (Processor *p) override
 
virtual void onProcessorInvalidationEnd (Processor *p) override
 
virtual void onProcessorPortAdded (Processor *p, Port *port) override
 
virtual void onProcessorPortRemoved (Processor *p, Port *port) override
 
virtual void onProcessorAboutToProcess (Processor *p) override
 
virtual void onProcessorFinishedProcess (Processor *p) override
 
virtual void onProcessorSourceChanged (Processor *p) override
 
virtual void onProcessorSinkChanged (Processor *p) override
 
virtual void onProcessorReadyChanged (Processor *p) override
 
virtual void onProcessorActiveConnectionsChanged (Processor *p) override
 
virtual void onProcessorStartBackgroundWork (Processor *p, size_t jobs) override
 Called when a processor initiates a background computation.
 
virtual void onProcessorFinishBackgroundWork (Processor *p, size_t jobs) override
 Called when a processor finishes a background computation.
 
- Public Member Functions inherited from inviwo::ProcessorNetworkObserver
- 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 Member Functions inherited from inviwo::ProcessorNetworkEvaluationObserver
- Public Member Functions inherited from inviwo::ProcessorObserver

Additional Inherited Members

- Public Attributes inherited from inviwo::ProcessorNetworkObserver
friend ProcessorNetworkObservable
 
- Public Attributes inherited from inviwo::ProcessorObserver
friend ProcessorObservable
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Detailed Description

Observes the network and logs.

Member Function Documentation

◆ onAboutPropertyChange()

virtual void inviwo::NetworkDebugObserver::onAboutPropertyChange ( Property * p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorAboutToProcess()

virtual void inviwo::NetworkDebugObserver::onProcessorAboutToProcess ( Processor * p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorActiveConnectionsChanged()

virtual void inviwo::NetworkDebugObserver::onProcessorActiveConnectionsChanged ( Processor * )
inlineoverridevirtual

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

See also
Processor::isConnectionActive

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorBackgroundJobsChanged()

virtual void inviwo::NetworkDebugObserver::onProcessorBackgroundJobsChanged ( Processor * p,
int diff,
int total )
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorFinishBackgroundWork()

virtual void inviwo::NetworkDebugObserver::onProcessorFinishBackgroundWork ( Processor * ,
size_t  )
inlineoverridevirtual

Called when a processor finishes a background computation.

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorFinishedProcess()

virtual void inviwo::NetworkDebugObserver::onProcessorFinishedProcess ( Processor * p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorInvalidationBegin()

virtual void inviwo::NetworkDebugObserver::onProcessorInvalidationBegin ( Processor * p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorInvalidationEnd()

virtual void inviwo::NetworkDebugObserver::onProcessorInvalidationEnd ( Processor * p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorNetworkChange()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkChange ( )
inlineoverridevirtual

This method will be called when observed object changes. Override it to add behavior.

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkDidAddConnection()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkDidAddConnection ( const PortConnection & p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkDidAddLink()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkDidAddLink ( const PropertyLink & l)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkDidAddProcessor()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkDidAddProcessor ( Processor * p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkDidRemoveConnection()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkDidRemoveConnection ( const PortConnection & p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkDidRemoveLink()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkDidRemoveLink ( const PropertyLink & l)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkDidRemoveProcessor()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkDidRemoveProcessor ( Processor * p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkEvaluateRequest()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkEvaluateRequest ( )
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkEvaluationBegin()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkEvaluationBegin ( )
inlineoverridevirtual

◆ onProcessorNetworkEvaluationEnd()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkEvaluationEnd ( )
inlineoverridevirtual

◆ onProcessorNetworkUnlocked()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkUnlocked ( )
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkWillAddConnection()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkWillAddConnection ( const PortConnection & p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkWillAddLink()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkWillAddLink ( const PropertyLink & l)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkWillAddProcessor()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkWillAddProcessor ( Processor * p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkWillRemoveConnection()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkWillRemoveConnection ( const PortConnection & p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkWillRemoveLink()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkWillRemoveLink ( const PropertyLink & l)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorNetworkWillRemoveProcessor()

virtual void inviwo::NetworkDebugObserver::onProcessorNetworkWillRemoveProcessor ( Processor * p)
inlineoverridevirtual

Reimplemented from inviwo::ProcessorNetworkObserver.

◆ onProcessorPortAdded()

virtual void inviwo::NetworkDebugObserver::onProcessorPortAdded ( Processor * p,
Port * port )
inlineoverridevirtual

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorPortRemoved()

virtual void inviwo::NetworkDebugObserver::onProcessorPortRemoved ( Processor * p,
Port * port )
inlineoverridevirtual

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorReadyChanged()

virtual void inviwo::NetworkDebugObserver::onProcessorReadyChanged ( Processor * )
inlineoverridevirtual

Called after the processor has changed its ready state.

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorSinkChanged()

virtual void inviwo::NetworkDebugObserver::onProcessorSinkChanged ( Processor * )
inlineoverridevirtual

Called after the processor has changed its sink state.

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorSourceChanged()

virtual void inviwo::NetworkDebugObserver::onProcessorSourceChanged ( Processor * )
inlineoverridevirtual

Called after the processor has changed its source state.

Reimplemented from inviwo::ProcessorObserver.

◆ onProcessorStartBackgroundWork()

virtual void inviwo::NetworkDebugObserver::onProcessorStartBackgroundWork ( Processor * ,
size_t  )
inlineoverridevirtual

Called when a processor initiates a background computation.

Reimplemented from inviwo::ProcessorObserver.


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