SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
Clients are a composition of Registrars and Managers. More...
#include <Client.h>
Public Member Functions | |
virtual bool | registerPluginTo (const std::shared_ptr< Manager > &)=0 |
virtual bool | unregisterPluginFrom (const std::shared_ptr< Manager > &)=0 |
Protected Member Functions | |
virtual smtk::plugin::RegistryBase * | find (const std::shared_ptr< Manager > &)=0 |
Protected Attributes | |
std::unordered_set< smtk::plugin::RegistryBase * > | m_registries |
Clients are a composition of Registrars and Managers.
When a developer wishes to register a manager to all available plugins, the Registrar for each plugin is not known but the Manager type is. We therefore present an API that only depends on the Manager type to the user, and we implement it in detail::Client.