nx_metadata_sdk
1.0
Metadata SDK
|
Public Member Functions | |
Plugin (int instanceIndexForMultiPluginMode) | |
![]() | |
Plugin (std::string pluginManifest, CreateEngine createEngine) | |
Ptr< IUtilityProvider > | utilityProvider () const |
virtual void | setUtilityProvider (IUtilityProvider *utilityProvider) override |
![]() | |
RefCountable (const RefCountable &)=delete | |
RefCountable (RefCountable &&)=delete | |
RefCountable & | operator= (const RefCountable &)=delete |
RefCountable & | operator= (RefCountable &&)=delete |
virtual int | addRef () const override |
virtual int | releaseRef () const override |
int | refCount () const |
![]() | |
virtual IRefCountable * | queryInterface (const InterfaceId *id) |
Ptr< Interface > | queryInterface () |
Ptr< const Interface > | queryInterface () const |
![]() | |
virtual | ~IRefCountable ()=default |
template<class Interface > | |
Ptr< Interface > | queryInterface () |
template<class Interface > | |
Ptr< const Interface > | queryInterface () const |
int | refCountThreadUnsafe () const |
Protected Member Functions | |
virtual nx::sdk::Result< nx::sdk::analytics::IEngine * > | doObtainEngine () override |
virtual std::string | manifestString () const override |
![]() | |
virtual void | getManifest (Result< const IString *> *outResult) const override |
virtual void | doCreateEngine (Result< IEngine *> *outResult) override |
![]() | |
virtual IRefCountable * | queryInterface (const IRefCountable::InterfaceId *id) override |
IRefCountable * | queryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId) |
Additional Inherited Members | |
![]() | |
using | CreateEngine = std::function< IEngine *(Plugin *plugin)> |
![]() | |
typedef IPlugin *(* | EntryPointFunc) () |
typedef IPlugin *(* | MultiEntryPointFunc) (int instanceIndex) |
![]() | |
static auto | interfaceId () |
![]() | |
static auto | interfaceId () |
![]() | |
static constexpr const char * | kEntryPointFuncName = "createNxPlugin" |
static constexpr const char * | kMultiEntryPointFuncName = "createNxPluginByIndex" |
![]() | |
template<int len> | |
static constexpr const InterfaceId * | makeId (const char(&charArray)[len]) |
template<class TemplateInstance , class TemplateArg , int len> | |
static const InterfaceId * | makeIdForTemplate (const char(&baseIdCharArray)[len]) |
|
overrideprotectedvirtual |
Override this method instead of doCreateEngine().
Reimplemented from nx::sdk::analytics::Plugin.