|
| OwningDataStore (const std::string &name, ObjectCategory category) |
|
template<class DataType > |
void | AddObject (const std::string &name, std::shared_ptr< DataType > obj) |
|
template<class DataType > |
void | AddObject (const std::string &name, std::unique_ptr< DataType > &&obj) |
|
| DataStore (const std::string &name, ObjectCategory category) |
|
template<class DataType > |
void | AddObject (const std::string &name, DataType &obj, const observer_ptr< ObjectProducer > &producer=nullptr) |
| Adds an object to the map, storing also the producer. More...
|
|
template<class DataType > |
void | AddObject (const std::string &name, observer_ptr< DataType > obj, const observer_ptr< ObjectProducer > &producer=nullptr) |
| Adds an object to the map, storing also the producer. More...
|
|
void | AddObject (const std::string &name, const char *obj, const observer_ptr< ObjectProducer > &=nullptr) |
| Adds a string literal to the map. More...
|
|
template<class DataType > |
void | AddObject (const std::string &name, std::shared_ptr< DataType > obj, const observer_ptr< ObjectProducer > &producer=nullptr) |
| Adds an object to the map, storing also the producer. More...
|
|
template<class DataType > |
void | AddObject (const std::string &name, std::unique_ptr< DataType > obj, const observer_ptr< ObjectProducer > &=nullptr) |
| Adds an object to the map. More...
|
|
void | SetAlias (const std::string &objName, const std::string &objAlias) |
| Set an alias for the given object. More...
|
|
template<class DataType > |
observer_ptr< DataType > | GetObject (const std::string &name) |
| Provides a data object. More...
|
|
bool | RemoveObject (const std::string &name, bool removeAliased=false) |
| Removes an object or an alias from the map. More...
|
|
std::vector< std::string > | GetObjects () const |
| Returns the names of the objects in the store. More...
|
|
bool | IsPresent (const std::string &nameOrAlias) |
| Checks if an object is present in the map. More...
|
|
const std::vector< KnownObject > & | GetKnownObjects () |
| Returns a list of all the objects that are known to the store. More...
|
|
std::vector< std::string > | GetAliases (const std::string &name="") const |
| Returns the aliases of the objects in the store. More...
|
|
bool | Clean () |
| Removes all the objects and aliases from the store. More...
|
|
bool | CleanAliases () |
| Removes all the aliases from the store. More...
|
|
bool | IsAlias (const std::string &objName) |
| Checks if an object name is actually an alias. More...
|
|
const std::string & | GetNameOfAliasedObject (const std::string &aliasName) |
| Gets the name of the object corresponding to an alias. More...
|
|
ObjectWrapper | GetObjectWrapper (const std::string &objName) |
| Provides a data object wrapper. More...
|
|
bool | AddProvider (observer_ptr< DataProvider > provider) |
| Adds a data provider in the data store. More...
|
|
const std::vector< observer_ptr< DataProvider > > | GetAttachedProviders () |
| Gets all the providers attached to the data store. More...
|
|
void | TrackRemovedObjects (bool track=true) |
| Enables the tracking of removed objects. More...
|
|
bool | IsTrackingRemovedObjects () |
| Checks whether the data store is tracking removed objects or not. More...
|
|
bool | FreeRemoved (Memory::Status memStatus) |
| Release the memory allocated for removed objects. More...
|
|
bool | SetAlgoProducedObjects (const AlgoSequence &seq) |
| Notify the data store about objects that are produced by the algorithms. More...
|
|
bool | IsAlgoProducedObject (const std::string nameOrAlias) |
| Checks if a given object is produced by an algorithm. More...
|
|
| Info (const std::string &name) |
| Constructor. More...
|
|
virtual | ~Info () |
| Destructor. More...
|
|
virtual const std::string | GetType () const |
|
virtual const std::string | GetName () const |
| The type (i.e. class) of the object. More...
|
|
virtual const std::string | GetVersion () const |
| The name of the object. More...
|
|
A data store owning all of the contained objects.
This class is implemented by shadowing the non-owning versions of DataStore::AddObject.