#include <event.h>
|
|
virtual Event * | clone () const =0 |
|
virtual uint64_t | hash () const =0 |
| virtual bool | shouldPropagateTo (Inport *inport, Processor *processor, Outport *source) |
| bool | markAsUsed () |
| bool | markAsUnused () |
| bool | setUsed (bool isUsed) |
|
bool | hasBeenUsed () const |
| bool | 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 |
|
|
| Event (const Event &rhs)=default |
|
Event & | operator= (const Event &that)=default |
|
|
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.
◆ markAsUnused()
| bool inviwo::Event::markAsUnused |
( |
| ) |
|
|
inline |
Returns the previous used state, and sets it to unused;
◆ markAsUsed()
| bool inviwo::Event::markAsUsed |
( |
| ) |
|
|
inline |
Returns the previous used state, and sets it to used;
◆ markAsVisited()
| bool inviwo::Event::markAsVisited |
( |
Processor * | | ) |
|
Returns false if the processor was already visited;
◆ setUsed()
| bool inviwo::Event::setUsed |
( |
bool | isUsed | ) |
|
|
inline |
Returns the previous used state, and sets it to 'isUsed';
◆ shouldPropagateTo()
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::RasterizeEvent, and inviwo::ResizeEvent.
The documentation for this class was generated from the following file: