Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
TrackFactory (ProcessorNetwork *network) | |
virtual bool | hasKey (std::string_view key) const override |
virtual std::unique_ptr< Track > | create (std::string_view key) const override |
virtual std::unique_ptr< Track > | create (Property *property) const |
void | registerPropertyTrackConnection (std::string_view propertyClassID, std::string_view trackClassID) |
Public Member Functions inherited from inviwo::Factory< Track > | |
Factory (const Factory &)=delete | |
Factory (Factory &&)=default | |
Factory & | operator= (const Factory &)=delete |
Factory & | operator= (Factory &&)=default |
virtual std::unique_ptr< Track > | create (std::string_view key, Args... args) const=0 |
virtual std::shared_ptr< Track > | createShared (std::string_view key, Args... args) const |
Public Member Functions inherited from inviwo::StandardFactory< Track, TrackFactoryObject, std::string_view, ProcessorNetwork * > | |
virtual std::unique_ptr< Track > | create (std::string_view key, Args... args) const override |
Public Member Functions inherited from inviwo::Factory< Track, std::string_view, Args... > | |
Factory (const Factory &)=delete | |
Factory (Factory &&)=default | |
Factory & | operator= (const Factory &)=delete |
Factory & | operator= (Factory &&)=default |
virtual std::shared_ptr< Track > | createShared (std::string_view key, Args... args) const |
Public Member Functions inherited from inviwo::FactoryRegister< TrackFactoryObject, factoryKeyType< std::string_view >, std::string_view > | |
virtual bool | registerObject (TrackFactoryObject *obj) |
virtual bool | unRegisterObject (TrackFactoryObject *obj) |
bool | hasKey (std::string_view key) const |
std::vector< factoryKeyType< std::string_view > > | getKeys () const |
auto | getKeyView () const |
TrackFactoryObject * | getFactoryObject (std::string_view key) const |
Public Member Functions inherited from inviwo::Observable< FactoryObserver< TrackFactoryObject > > | |
Observable (const Observable< FactoryObserver< TrackFactoryObject > > &other) | |
Observable (Observable< FactoryObserver< TrackFactoryObject > > &&other) noexcept | |
Observable< FactoryObserver< TrackFactoryObject > > & | operator= (const Observable< FactoryObserver< TrackFactoryObject > > &other) |
Observable< FactoryObserver< TrackFactoryObject > > & | operator= (Observable< FactoryObserver< TrackFactoryObject > > &&other) noexcept |
void | addObserver (FactoryObserver< TrackFactoryObject > *observer) |
void | removeObserver (FactoryObserver< TrackFactoryObject > *observer) |
virtual void | startBlockingNotifications () override final |
virtual void | stopBlockingNotifications () override final |
Public Member Functions inherited from inviwo::ObservableInterface |
Public Attributes | |
ProcessorNetwork * | network_ |
Protected Attributes | |
std::map< std::string, std::string, std::less<> > | propertyToTrackMap_ |
Protected Attributes inherited from inviwo::FactoryRegister< TrackFactoryObject, factoryKeyType< std::string_view >, std::string_view > | |
std::map< factoryKeyType< std::string_view >, TrackFactoryObject *, std::less<> > | map_ |
Additional Inherited Members | |
Protected Member Functions inherited from inviwo::FactoryObservable< TrackFactoryObject > | |
void | notifyObserversOnRegister (TrackFactoryObject *p) |
void | notifyObserversOnUnRegister (TrackFactoryObject *p) |
Protected Member Functions inherited from inviwo::Observable< FactoryObserver< TrackFactoryObject > > | |
void | forEachObserver (C callback) |
Protected Member Functions inherited from inviwo::ObservableInterface | |
void | addObservationHelper (Observer *observer) |
void | removeObservationHelper (Observer *observer) |
|
overridevirtual |
Implements inviwo::Factory< Track >.
void inviwo::animation::TrackFactory::registerPropertyTrackConnection | ( | std::string_view | propertyClassID, |
std::string_view | trackClassID ) |
Register connection between a property and a track. Used to create typed tracks for a property.
propertyClassID | Property::getClassIdentifier |
trackClassID | PropertyTrack::getIdentifier() |