|
| virtual void | deserialize (Deserializer &d) override |
| virtual const ProcessorInfo & | getProcessorInfo () const override |
| virtual Inport & | getSuperInport () override |
|
SequenceCompositeSource & | operator= (const SequenceCompositeSource &)=delete |
|
SequenceCompositeSource & | operator= (SequenceCompositeSource &&)=delete |
| virtual void | process () override |
| virtual void | propagateEvent (Event *event, Outport *source) override |
|
| SequenceCompositeSource (const SequenceCompositeSource &)=delete |
|
| SequenceCompositeSource (SequenceCompositeSource &&)=delete |
| virtual size_t | sequenceSize () const override |
| virtual void | serialize (Serializer &s) const override |
| virtual void | setSequenceIndex (size_t index) override |
|
SequenceCompositeSourceBase & | operator= (const SequenceCompositeSourceBase &)=delete |
|
SequenceCompositeSourceBase & | operator= (SequenceCompositeSourceBase &&)=delete |
|
| SequenceCompositeSourceBase (const SequenceCompositeSourceBase &)=delete |
|
| SequenceCompositeSourceBase (SequenceCompositeSourceBase &&)=delete |
|
virtual void | accept (NetworkVisitor &visitor) |
| | Accept a NetworkVisitor, the visitor will visit this and then each Property of the Processor in an undefined order. The Visitor will then visit each Properties's properties and so on.
|
| void | addInteractionHandler (InteractionHandler *interactionHandler) |
| template<typename T> |
| T & | addPort (std::unique_ptr< T > port, std::string_view portGroup="default") |
| template<typename T> |
| T & | addPort (std::unique_ptr< T > port, std::string_view portGroup="default") |
| template<typename T> |
| T & | addPort (T &port, std::string_view portGroup="default") |
| template<typename... Ts> |
| void | addPorts (Ts &... ports) |
| bool | allInportsAreReady () const |
|
bool | allInportsConnected () const |
| virtual void | doIfNotReady () |
|
const std::string & | getCategory () const |
|
const std::string & | getClassIdentifier () const |
|
CodeState | getCodeState () const |
|
const std::string & | getDisplayName () const |
| virtual const std::string & | getIdentifier () const override |
|
Inport * | getInport (std::string_view identifier) const |
|
const std::vector< Inport * > & | getInports () const |
|
const std::vector< InteractionHandler * > & | getInteractionHandlers () const |
| virtual InviwoApplication * | getInviwoApplication () override |
|
ProcessorNetwork * | getNetwork () const |
|
Outport * | getOutport (std::string_view identifier) const |
|
const std::vector< Outport * > & | getOutports () const |
| virtual const PropertyOwner * | getOwner () const override |
| virtual PropertyOwner * | getOwner () override |
|
Port * | getPort (std::string_view identifier) const |
| const std::string & | getPortGroup (Port *port) const |
|
std::vector< std::string > | getPortGroups () const |
|
const std::vector< Port * > & | getPortsInGroup (std::string_view portGroup) const |
|
const std::vector< Port * > & | getPortsInSameGroup (Port *port) const |
| virtual const Processor * | getProcessor () const override |
| virtual Processor * | getProcessor () override |
|
ProcessorWidget * | getProcessorWidget () const |
|
const Tags & | getTags () const |
|
bool | hasInteractionHandler () const |
|
bool | hasProcessorWidget () const |
| virtual void | initializeResources () |
| virtual void | invalidate (InvalidationLevel invalidationLevel, Property *modifiedProperty=nullptr) override |
| virtual void | invokeEvent (Event *event) override |
| virtual bool | isConnectionActive (Inport *inport, Outport *outport) const |
| bool | isReady () const |
| bool | isSink () const |
| bool | isSource () const |
| NameDispatcherHandle | onDisplayNameChange (std::function< void(std::string_view, std::string_view)> callback) |
| NameDispatcherHandle | onIdentifierChange (std::function< void(std::string_view, std::string_view)> callback) |
| | Processor (std::string_view identifier="", std::string_view displayName="") |
| void | removeInteractionHandler (InteractionHandler *interactionHandler) |
|
Inport * | removePort (Inport *port) |
|
Outport * | removePort (Outport *port) |
|
Port * | removePort (std::string_view identifier) |
| void | setDisplayName (std::string_view displayName) |
| void | setIdentifier (std::string_view identifier) |
|
virtual void | setNetwork (ProcessorNetwork *network) |
|
virtual void | setProcessorWidget (std::unique_ptr< ProcessorWidget > processorWidget) |
| virtual void | setValid () override |
| const ProcessorStatus & | status () const |
|
template<typename... Ts> |
| void | addProperties (Ts &... properties) |
|
void | addProperty (Property &property) |
|
void | addProperty (Property *property, bool owner=true) |
|
Property * | addProperty (std::unique_ptr< Property > property) |
|
iterator | begin () |
|
const_iterator | begin () const |
|
const_iterator | cbegin () const |
|
const_iterator | cend () const |
| virtual void | clear () |
| | Remove all properties; Owned properties will be deleted.
|
|
bool | empty () const |
|
iterator | end () |
|
const_iterator | end () const |
|
const_iterator | find (Property *property) const |
|
const std::vector< CompositeProperty * > & | getCompositeProperties () const |
|
InvalidationLevel | getInvalidationLevel () const |
|
const std::vector< Property * > & | getProperties () const |
|
template<class T> |
| std::vector< T * > | getPropertiesByType (bool recursiveSearch=false) const |
|
std::vector< Property * > | getPropertiesRecursive () const |
|
std::vector< Property * > & | getPropertiesRecursive (std::vector< Property * > &destination) const |
|
template<std::derived_from< Property > T = Property> |
| T * | getProperty (std::string_view identifier) |
|
Property * | getPropertyByIdentifier (std::string_view identifier, bool recursiveSearch=false) const |
|
Property * | getPropertyByPath (std::string_view path) const |
| void | insertProperty (size_t index, Property &property) |
| | insert property property at position index If index is not valid, the property is appended.
|
| virtual void | insertProperty (size_t index, Property *property, bool owner=true) |
| | insert property property at position index If index is not valid, the property is appended.
|
| Property * | insertProperty (size_t index, std::unique_ptr< Property > property) |
| | insert property property at position index If index is not valid, the property is appended.
|
|
virtual bool | isValid () const |
|
virtual bool | move (Property *property, size_t newIndex) |
|
PropertyOwner & | operator= (const PropertyOwner &that)=delete |
|
Property * | operator[] (size_t) |
|
const Property * | operator[] (size_t) const |
|
virtual Property * | removeProperty (iterator it) |
|
Property * | removeProperty (Property &property) |
|
Property * | removeProperty (Property *property) |
| Property * | removeProperty (size_t index) |
| | remove property referred to by index
|
|
Property * | removeProperty (std::string_view identifier) |
|
virtual void | resetAllProperties () |
|
virtual void | setAllPropertiesCurrentStateAsDefault () |
|
size_t | size () const |
|
virtual | ~PropertyOwner () |
| | Removes all properties and notifies its observers of the removal.
|
|
void | notifyObserversDidAddProperty (Property *property, size_t index) |
|
void | notifyObserversDidRemoveProperty (PropertyOwner *owner, Property *property, size_t index) |
|
void | notifyObserversWillAddProperty (PropertyOwner *owner, Property *property, size_t index) |
|
void | notifyObserversWillRemoveProperty (Property *property, size_t index) |
|
void | addObserver (PropertyOwnerObserver *observer) |
|
bool | isObservedBy (PropertyOwnerObserver *observer) const |
| Observable< PropertyOwnerObserver > & | operator= (const Observable< PropertyOwnerObserver > &other) |
|
void | removeObserver (PropertyOwnerObserver *observer) |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
|
void | copyMetaDataFrom (const MetaDataOwner &src) |
|
void | copyMetaDataTo (MetaDataOwner &dst) |
|
template<typename T> |
| T * | createMetaData (std::string_view key) |
|
void | deserialize (Deserializer &d) |
|
template<typename T> |
| T * | getMetaData (std::string_view key) |
|
template<typename T> |
| const T * | getMetaData (std::string_view key) const |
|
template<typename T, typename U> |
| U | getMetaData (std::string_view key, U val) const |
|
MetaDataMap * | getMetaDataMap () |
|
const MetaDataMap * | getMetaDataMap () const |
|
template<typename T> |
| bool | hasMetaData (std::string_view key) const |
|
bool | hasMetaData (std::string_view key) const |
|
| MetaDataOwner (const MetaDataOwner &rhs)=default |
|
| MetaDataOwner (MetaDataOwner &rhs)=default |
|
MetaDataOwner & | operator= (const MetaDataOwner &rhs)=default |
|
MetaDataOwner & | operator= (MetaDataOwner &)=default |
|
void | serialize (Serializer &s) const |
|
template<typename T, typename U> |
| void | setMetaData (std::string_view key, U value) |
| template<typename T> |
| bool | unsetMetaData (std::string_view key) |
| | unset, i.e. remove the metadata entry matching the given key and type
|
|
void | addObserver (ProcessorObserver *observer) |
|
bool | isObservedBy (ProcessorObserver *observer) const |
| Observable< ProcessorObserver > & | operator= (const Observable< ProcessorObserver > &other) |
|
void | removeObserver (ProcessorObserver *observer) |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
|
|
using | NameDispatcher = Dispatcher<void(std::string_view, std::string_view)> |
|
using | NameDispatcherHandle = typename NameDispatcher::Handle |
|
using | const_iterator = std::vector<Property*>::const_iterator |
|
using | iterator = std::vector<Property*>::iterator |
|
static constexpr std::string_view | identifierSuffix () |
| void | addPortToGroup (Port *port, std::string_view portGroup) |
| void | removePortFromGroups (Port *port) |
|
void | setInportsChanged (bool changed) |
|
void | forEachProperty (std::function< void(Property &)> callback, bool recursiveSearch=false) const |
|
PropertyOwner & | operator= (PropertyOwner &&that) |
|
| PropertyOwner (const PropertyOwner &rhs) |
|
| PropertyOwner (PropertyOwner &&rhs) |
|
void | forEachObserver (C callback) |
|
void | addObservationHelper (Observer *observer) |
|
virtual void | addObserver (Observer *observer)=0 |
|
void | removeObservationHelper (Observer *observer) |
|
virtual void | removeObserver (Observer *observer)=0 |
|
void | notifyObserversAboutPropertyChange (Property *p) |
|
void | notifyObserversAboutToProcess (Processor *p) |
|
void | notifyObserversActiveConnectionsChange (Processor *p) |
|
void | notifyObserversFinishBackgroundWork (Processor *p, size_t jobs=1) |
|
void | notifyObserversFinishedProcess (Processor *p) |
|
void | notifyObserversInvalidationBegin (Processor *p) |
|
void | notifyObserversInvalidationEnd (Processor *p) |
|
void | notifyObserversProcessorPortAdded (Processor *p, Port *port) |
|
void | notifyObserversProcessorPortRemoved (Processor *p, Port *port) |
|
void | notifyObserversProgressChanged (Processor *p, std::optional< double > progress) |
|
void | notifyObserversReadyChange (Processor *p) |
|
void | notifyObserversSinkChange (Processor *p) |
|
void | notifyObserversSourceChange (Processor *p) |
|
void | notifyObserversStartBackgroundWork (Processor *p, size_t jobs=1) |
|
void | forEachObserver (C callback) |
|
static std::function< ProcessorStatus()> | getDefaultIsReadyUpdater (Processor *) |
|
StateCoordinator< ProcessorStatus > | isReady_ |
|
StateCoordinator< bool > | isSink_ |
|
StateCoordinator< bool > | isSource_ |
|
std::unique_ptr< ProcessorWidget > | processorWidget_ |
|
std::vector< CompositeProperty * > | compositeProperties_ |
|
std::vector< EventProperty * > | eventProperties_ |
|
std::vector< std::unique_ptr< Property > > | ownedProperties_ |
|
std::vector< Property * > | properties_ |
|
MetaDataMap | metaData_ |
|
friend | ProcessorNetworkEvaluator |
|
friend | Property |
template<typename InportSequenceType, typename OutportType>
class inviwo::SequenceCompositeSource< InportSequenceType, OutportType >
Processor used to connect inports in a sub network inside of a SequenceProcessor to outports in the network it is in (referred as the super network). The SequenceProcessor will find all SourceProcessors in its sub network and add the SourceProcessors super inports to itself. Whenever the sub network gets evaluated the SourceProcessors will pass through super inport data to their outport, thus making the data available to the sub network. Note that the actual data will not be copied since shared pointers are used.
The inport type should be a sequence version of the outport type.
- See also
- SequenceProcessor
-
SequenceCompositeSink