nx_server_plugin_sdk  1.0
Server Plugin SDK
Public Member Functions | List of all members
nx::vms_server_plugins::analytics::test::UtilityProvider Class Reference
Inheritance diagram for nx::vms_server_plugins::analytics::test::UtilityProvider:
nx::sdk::RefCountable< IUtilityProvider > nx::sdk::IUtilityProvider nx::sdk::Interface< IUtilityProvider, IUtilityProvider6 > nx::sdk::IUtilityProvider6 nx::sdk::Interface< IUtilityProvider6, IUtilityProvider5 > nx::sdk::IUtilityProvider5 nx::sdk::Interface< IUtilityProvider5, IUtilityProvider4 > nx::sdk::IUtilityProvider4 nx::sdk::Interface< IUtilityProvider4, IUtilityProvider3 > nx::sdk::IUtilityProvider3 nx::sdk::Interface< IUtilityProvider3, IUtilityProvider2 > nx::sdk::IUtilityProvider2 nx::sdk::Interface< IUtilityProvider2, IUtilityProvider1 > nx::sdk::IUtilityProvider1 nx::sdk::Interface< IUtilityProvider1, IUtilityProvider0 > nx::sdk::IUtilityProvider0 nx::sdk::Interface< IUtilityProvider0 > nx::sdk::IRefCountable

Public Member Functions

virtual int64_t vmsSystemTimeSinceEpochMs () const override
 
virtual const nx::sdk::IStringgetHomeDir () const override
 
virtual const char * serverId () const override
 
virtual IStringcloudSystemId () const
 
virtual IStringcloudAuthKey () const override
 
virtual IStringsupportedVectorizationModels () const override
 
virtual IStringgetDataDir () const override
 
virtual const char * cloudToken () const override
 
virtual void subscribeForCloudTokenUpdate (ICloudTokenSubscriber *) override
 
virtual void doSendHttpRequest (HttpDomainName requestDomain, const char *url, const char *httpMethod, const char *mimeType, const char *requestBody, IHttpRequestCompletionHandler *callback) const override
 
virtual const nx::sdk::IStringgetServerSdkVersion () const override
 
- Public Member Functions inherited from nx::sdk::RefCountable< IUtilityProvider >
 RefCountable (const RefCountable &)=delete
 
 RefCountable (RefCountable &&)=delete
 
RefCountableoperator= (const RefCountable &)=delete
 
RefCountableoperator= (RefCountable &&)=delete
 
virtual int addRef () const override
 
virtual int releaseRef () const override
 
int refCount () const
 
- Public Member Functions inherited from nx::sdk::IUtilityProvider
std::string dataDir () const
 
- Public Member Functions inherited from nx::sdk::Interface< IUtilityProvider, IUtilityProvider6 >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::Interface< IUtilityProvider6, IUtilityProvider5 >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::Interface< IUtilityProvider5, IUtilityProvider4 >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::IUtilityProvider4
void sendHttpRequest (HttpDomainName requestDomainName, const char *url, const char *httpMethod, const char *mimeType, const char *requestBody, Ptr< IHttpRequestCompletionHandler > callback) const
 
- Public Member Functions inherited from nx::sdk::Interface< IUtilityProvider4, IUtilityProvider3 >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::Interface< IUtilityProvider3, IUtilityProvider2 >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::Interface< IUtilityProvider2, IUtilityProvider1 >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::IUtilityProvider1
std::string serverSdkVersion () const
 
- Public Member Functions inherited from nx::sdk::Interface< IUtilityProvider1, IUtilityProvider0 >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::IUtilityProvider0
std::string homeDir () const
 
- Public Member Functions inherited from nx::sdk::Interface< IUtilityProvider0 >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::IRefCountable
virtual ~IRefCountable ()=default
 
template<class Interface >
Ptr< InterfacequeryInterface ()
 
template<class Interface >
Ptr< const InterfacequeryInterface () const
 
int refCountThreadUnsafe () const
 

Additional Inherited Members

- Public Types inherited from nx::sdk::IUtilityProvider4
enum  HttpDomainName : int { cloud, vms }
 
using IHttpRequestCompletionHandler0 = IHttpRequestCompletionHandler
 
- Static Public Member Functions inherited from nx::sdk::IUtilityProvider
static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IUtilityProvider6
static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IUtilityProvider5
static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IUtilityProvider4
static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IUtilityProvider3
static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IUtilityProvider2
static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IUtilityProvider1
static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IUtilityProvider0
static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IRefCountable
static auto interfaceId ()
 
- Protected Member Functions inherited from nx::sdk::Interface< IUtilityProvider, IUtilityProvider6 >
virtual IRefCountablequeryInterface (const IRefCountable::InterfaceId *id) override
 
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Protected Member Functions inherited from nx::sdk::Interface< IUtilityProvider6, IUtilityProvider5 >
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Protected Member Functions inherited from nx::sdk::Interface< IUtilityProvider5, IUtilityProvider4 >
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Protected Member Functions inherited from nx::sdk::Interface< IUtilityProvider4, IUtilityProvider3 >
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Protected Member Functions inherited from nx::sdk::Interface< IUtilityProvider3, IUtilityProvider2 >
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Protected Member Functions inherited from nx::sdk::Interface< IUtilityProvider2, IUtilityProvider1 >
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Protected Member Functions inherited from nx::sdk::Interface< IUtilityProvider1, IUtilityProvider0 >
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Protected Member Functions inherited from nx::sdk::Interface< IUtilityProvider0 >
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Static Protected Member Functions inherited from nx::sdk::IRefCountable
template<int len>
static const InterfaceIdmakeId (const char(&charArray)[len])
 
template<int len, int alternativeLen>
static std::vector< const InterfaceId * > makeIdWithAlternative (const char(&charArray)[len], const char(&alternativeCharArray)[alternativeLen])
 
template<class TemplateInstance , class TemplateArg , int len>
static const InterfaceIdmakeIdForTemplate (const char(&baseIdCharArray)[len])
 
static std::vector< const InterfaceId * > alternativeInterfaceIds (const InterfaceId *id)
 
static std::vector< const InterfaceId * > alternativeInterfaceIds (std::vector< const InterfaceId *> ids)
 

Member Function Documentation

◆ cloudToken()

virtual const char* nx::vms_server_plugins::analytics::test::UtilityProvider::cloudToken ( ) const
inlineoverridevirtual

Always returns a valid string. In case if the token is not available, this string will be empty but still valid ("").

Implements nx::sdk::IUtilityProvider5.

◆ doSendHttpRequest()

virtual void nx::vms_server_plugins::analytics::test::UtilityProvider::doSendHttpRequest ( HttpDomainName  requestDomainName,
const char *  url,
const char *  httpMethod,
const char *  mimeType,
const char *  requestBody,
IHttpRequestCompletionHandler callback 
) const
inlineoverridevirtual

◆ getDataDir()

virtual IString* nx::vms_server_plugins::analytics::test::UtilityProvider::getDataDir ( ) const
inlineoverridevirtual

Called by dataDir

Implements nx::sdk::IUtilityProvider.

◆ getHomeDir()

virtual const nx::sdk::IString* nx::vms_server_plugins::analytics::test::UtilityProvider::getHomeDir ( ) const
inlineoverridevirtual

Called by homeDir()

Implements nx::sdk::IUtilityProvider0.

◆ getServerSdkVersion()

virtual const nx::sdk::IString* nx::vms_server_plugins::analytics::test::UtilityProvider::getServerSdkVersion ( ) const
inlineoverridevirtual

◆ subscribeForCloudTokenUpdate()

virtual void nx::vms_server_plugins::analytics::test::UtilityProvider::subscribeForCloudTokenUpdate ( ICloudTokenSubscriber subscriber)
inlineoverridevirtual

Each subscriber will be notified. Make sure not to subscribe multiple times per plugin.

Implements nx::sdk::IUtilityProvider5.

◆ supportedVectorizationModels()

virtual IString* nx::vms_server_plugins::analytics::test::UtilityProvider::supportedVectorizationModels ( ) const
inlineoverridevirtual

Comma-separated list of supported image/text vectorization model names. Example: "openai/clip-vit-large-patch14-336". The plugin can specify a vectorization model from this list in the EngineManifest, and use it to generate and attach a vector to the track's best shot data.

Implements nx::sdk::IUtilityProvider6.

◆ vmsSystemTimeSinceEpochMs()

virtual int64_t nx::vms_server_plugins::analytics::test::UtilityProvider::vmsSystemTimeSinceEpochMs ( ) const
inlineoverridevirtual

VMT #4.

Returns
Synchronized System time - common time for all Servers in the VMS System.

Implements nx::sdk::IUtilityProvider0.


The documentation for this class was generated from the following file: