8 #ifndef META_OCEAN_TEST_TEST_DATA_MANAGER_H
9 #define META_OCEAN_TEST_TEST_DATA_MANAGER_H
This class implements a recursive lock object.
Definition: Lock.h:31
This class implements a subscription object which can be used unique subscriptions to e....
Definition: ScopedSubscription.h:28
This template class is the base class for all singleton objects.
Definition: Singleton.h:71
This class is the base class for all TestDataCollection objects.
Definition: TestDataCollection.h:35
The class implements the manager for test data collections as a singleton object.
Definition: TestDataManager.h:29
TestDataCollectionMap testDataCollectionMap_
The map mapping collection names to collection objects.
Definition: TestDataManager.h:90
Lock lock_
The manager's lock.
Definition: TestDataManager.h:93
std::vector< ScopedSubscription > ScopedSubscriptions
Definition of a vector holding scoped subscription objects.
Definition: TestDataManager.h:43
std::unordered_map< std::string, TestDataCollectionPair > TestDataCollectionMap
Definition of an unordered map mapping collection names to collection objects.
Definition: TestDataManager.h:55
ScopedSubscription registerTestDataCollection(const std::string &name, std::unique_ptr< TestDataCollection > &&testDataCollection)
Registers a new test data collection.
std::pair< unsigned int, std::shared_ptr< TestDataCollection > > TestDataCollectionPair
Definition of a pair combining a counter with a shared pointer.
Definition: TestDataManager.h:50
SharedTestDataCollection testDataCollection(const std::string &name) const
Returns a specific test data collection.
void unregisterTestDataCollection(const std::string &name)
Unregisters a registered data collection.
TestDataManager()
Protected default constructor.
std::shared_ptr< TestDataCollection > SharedTestDataCollection
Definition of a shared pointer holding data TestDataCollection object.
Definition: TestDataCollection.h:27
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15