#include <BinaryAddonManager.h>
◆ CBinaryAddonManager() [1/2]
ADDON::CBinaryAddonManager::CBinaryAddonManager |
( |
| ) |
|
|
default |
◆ CBinaryAddonManager() [2/2]
◆ ~CBinaryAddonManager()
ADDON::CBinaryAddonManager::~CBinaryAddonManager |
( |
| ) |
|
|
default |
◆ GetAddonBase()
Create or get available addon instance handle base.
On first call the binary addon base class becomes created, on every next call of addon id, this becomes given again and a counter about in CBinaryAddonBase increased.
- Parameters
-
[in] | addonBase | related addon base to release |
[in] | handler | related instance handle class |
- Warning
- This and ReleaseAddonBase are only be called from IAddonInstanceHandler, use nowhere else allowed!
◆ GetRunningAddon()
AddonPtr CBinaryAddonManager::GetRunningAddon |
( |
const std::string & | addonId | ) |
const |
Used from other addon manager to get active addon over a from him created CAddonDll.
- Parameters
-
[in] | addonId | related addon id string |
- Returns
- if present the pointer to active one or nullptr if not present
◆ GetRunningAddonBase()
BinaryAddonBasePtr CBinaryAddonManager::GetRunningAddonBase |
( |
const std::string & | addonId | ) |
const |
Get running addon base class for a given addon id.
- Parameters
-
- Returns
- running addon base class if found, nullptr otherwise.
◆ ReleaseAddonBase()
Release a running addon instance handle base.
On last release call the here on map stored entry becomes removed and the dll unloaded.
- Parameters
-
[in] | addonBase | related addon base to release |
[in] | handler | related instance handle class |
The documentation for this class was generated from the following files: