Inviwo
0.9.10.1
Inviwo documentation
|
#include <event.h>
Public Member Functions | |
virtual Event * | clone () const =0 |
virtual uint64_t | hash () const =0 |
virtual bool | shouldPropagateTo (Inport *inport, Processor *processor, Outport *source) |
void | markAsUsed () |
bool | hasBeenUsed () const |
void | markAsUnused () |
void | markAsVisited (Processor *) |
void | markAsVisited (Event &) |
bool | hasVisitedProcessor (Processor *) const |
const std::vector< Processor * > & | getVisitedProcessors () const |
template<typename EventType > | |
EventType * | getAs () |
template<typename EventType > | |
const EventType * | getAs () const |
virtual void | print (std::ostream &ss) const |
Protected Member Functions | |
Event (const Event &rhs)=default | |
Event & | operator= (const Event &that)=default |
Friends | |
std::ostream & | operator<< (std::ostream &ss, const Event &e) |
Events are propagated upwards in the ProcessorNetwork through ports of processors until they are marked as used or reach a SourceProcessor.
|
virtual |
Determine if the event should be propagated upwards to inport. Can be overloaded to limit the number or ports a event is propagated through.
Reimplemented in inviwo::ResizeEvent.