Inviwo 0.9.12-pre
Inviwo documentation
inviwo::animation::TrackFactory Class Reference
Inheritance diagram for inviwo::animation::TrackFactory:

Public Member Functions

 TrackFactory (ProcessorNetwork *network)
virtual bool hasKey (std::string_view key) const override
virtual std::unique_ptr< Trackcreate (std::string_view key) const override
virtual std::unique_ptr< Trackcreate (Property *property) const
void registerPropertyTrackConnection (std::string_view propertyClassID, std::string_view trackClassID)
virtual std::unique_ptr< Trackcreate (std::string_view key, Args... args) const override
Public Member Functions inherited from inviwo::Factory< Track >
Factoryoperator= (const Factory &)=delete
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
Factoryoperator= (const Factory &)=delete
 Factory (Factory &&)=default
Factoryoperator= (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< FactoryObserver< FactoryObject > > & operator= (const Observable< FactoryObserver< FactoryObject > > &other)
void addObserver (FactoryObserver< FactoryObject > *observer)
void removeObserver (FactoryObserver< FactoryObject > *observer)
virtual void startBlockingNotifications () override final
virtual void stopBlockingNotifications () override final

Public Attributes

ProcessorNetworknetwork_

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
virtual void addObserver (Observer *observer)=0
virtual void removeObserver (Observer *observer)=0
void addObservationHelper (Observer *observer)
void removeObservationHelper (Observer *observer)

Member Function Documentation

◆ create()

virtual std::unique_ptr< Track > inviwo::StandardFactory< Track, TrackFactoryObject, std::string_view, Args >::create ( std::string_view key,
Args... args ) const
inlineoverridevirtual

◆ hasKey()

virtual bool inviwo::animation::TrackFactory::hasKey ( std::string_view key) const
overridevirtual

◆ registerPropertyTrackConnection()

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.

Parameters
propertyClassIDProperty::getClassIdentifier
trackClassIDPropertyTrack::getIdentifier()

The documentation for this class was generated from the following file:
  • trackfactory.h