Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::TrackFactory Class Reference
Inheritance diagram for inviwo::animation::TrackFactory:

Public Member Functions

virtual std::unique_ptr< Trackcreate (Property *property) const
virtual std::unique_ptr< Trackcreate (std::string_view key) const override
virtual std::unique_ptr< Trackcreate (std::string_view key, Args... args) const override
virtual bool hasKey (std::string_view key) const override
void registerPropertyTrackConnection (std::string_view propertyClassID, std::string_view trackClassID)
 TrackFactory (ProcessorNetwork *network)
Public Member Functions inherited from inviwo::Factory< Track >
virtual std::shared_ptr< Track > createShared (std::string_view key, Args... args) const
Factory & operator= (const Factory &)=delete
Public Member Functions inherited from inviwo::Factory< T, K, Args >
virtual std::shared_ptr< T > createShared (K key, Args... args) const
 Factory (const Factory &)=delete
 Factory (Factory &&)=default
Factory & operator= (const Factory &)=delete
Factory & operator= (Factory &&)=default
Public Member Functions inherited from inviwo::FactoryRegister< FactoryObject, Key, LookUpKey >
FactoryObject * getFactoryObject (LookUpKey key) const
std::vector< Key > getKeys () const
auto getKeyView () const
bool hasKey (LookUpKey key) const
virtual bool registerObject (FactoryObject *obj)
virtual bool unRegisterObject (FactoryObject *obj)
Public Member Functions inherited from inviwo::Observable< FactoryObserver< FactoryObject > >
void addObserver (FactoryObserver< FactoryObject > *observer)
bool isObservedBy (FactoryObserver< FactoryObject > *observer) const
Observable< FactoryObserver< FactoryObject > > & operator= (const Observable< FactoryObserver< FactoryObject > > &other)
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
void addObservationHelper (Observer *observer)
virtual void addObserver (Observer *observer)=0
void removeObservationHelper (Observer *observer)
virtual void removeObserver (Observer *observer)=0

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:
  • modules/animation/include/modules/animation/factories/trackfactory.h