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) |
virtual std::unique_ptr< Track > | create (std::string_view key, Args... args) const override |
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::shared_ptr< Track > | createShared (std::string_view key, Args... args) const |
Public Member Functions inherited from inviwo::Factory< T, K, Args > | |
Factory (const Factory &)=delete | |
Factory & | operator= (const Factory &)=delete |
Factory (Factory &&)=default | |
Factory & | operator= (Factory &&)=default |
virtual std::shared_ptr< T > | createShared (K key, Args... args) const |
Public Member Functions inherited from inviwo::FactoryRegister< FactoryObject, Key, LookUpKey > | |
virtual bool | registerObject (FactoryObject *obj) |
virtual bool | unRegisterObject (FactoryObject *obj) |
bool | hasKey (LookUpKey key) const |
std::vector< Key > | getKeys () const |
auto | getKeyView () const |
FactoryObject * | getFactoryObject (LookUpKey key) const |
Public Member Functions inherited from inviwo::Observable< FactoryObserver< FactoryObject > > | |
Observable (const Observable< FactoryObserver< FactoryObject > > &other) | |
Observable (Observable< FactoryObserver< FactoryObject > > &&other) noexcept | |
Observable< FactoryObserver< FactoryObject > > & | operator= (const Observable< FactoryObserver< FactoryObject > > &other) |
Observable< FactoryObserver< FactoryObject > > & | operator= (Observable< FactoryObserver< FactoryObject > > &&other) noexcept |
void | addObserver (FactoryObserver< FactoryObject > *observer) |
void | removeObserver (FactoryObserver< FactoryObject > *observer) |
virtual void | startBlockingNotifications () override final |
virtual void | stopBlockingNotifications () override final |
Public Attributes | |
ProcessorNetwork * | network_ |
Protected Attributes | |
std::map< std::string, std::string, std::less<> > | propertyToTrackMap_ |
Protected Attributes inherited from inviwo::FactoryRegister< FactoryObject, Key, LookUpKey > | |
std::map< Key, FactoryObject *, std::less<> > | map_ |
Additional Inherited Members | |
Protected Member Functions inherited from inviwo::FactoryObservable< FactoryObject > | |
void | notifyObserversOnRegister (FactoryObject *p) |
void | notifyObserversOnUnRegister (FactoryObject *p) |
Protected Member Functions inherited from inviwo::Observable< FactoryObserver< FactoryObject > > | |
void | forEachObserver (C callback) |
Protected Member Functions inherited from inviwo::ObservableInterface | |
void | addObservationHelper (Observer *observer) |
void | removeObservationHelper (Observer *observer) |
|
inlineoverridevirtual |
Implements inviwo::Factory< Track >.
|
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() |