nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | Protected Member Functions | List of all members
nx::vms_server_plugins::analytics::stub::settings::Engine Class Reference
Inheritance diagram for nx::vms_server_plugins::analytics::stub::settings::Engine:

## Public Member Functions
| Engine (nx::sdk::analytics::Integration *integration)
nx::sdk::analytics::Integration *const | integration () const
Public Member Functions inherited from nx::sdk::analytics::Engine
virtual void | setEngineInfo (const IEngineInfo *engineInfo) override
virtual void | setHandler (IEngine::IHandler *handler) override
virtual bool | isCompatible (const IDeviceInfo *deviceInfo) const override
Public Member Functions inherited from nx::sdk::RefCountable< IEngine >
| 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

## Protected Member Functions
virtual std::string | manifestString () const override
virtual nx::sdk::Result< const nx::sdk::ISettingsResponse * > | settingsReceived () override
virtual void | doObtainDeviceAgent (nx::sdk::Result< nx::sdk::analytics::IDeviceAgent *> *outResult, const nx::sdk::IDeviceInfo *deviceInfo) override
virtual void | getIntegrationSideSettings (nx::sdk::Result< const nx::sdk::ISettingsResponse *> *outResult) const override
virtual void | doGetSettingsOnActiveSettingChange (nx::sdk::Result< const nx::sdk::IActiveSettingChangedResponse *> *outResult, const nx::sdk::IActiveSettingChangedAction *activeSettingChangedAction) override
virtual void | doSetSettings (nx::sdk::Result< const nx::sdk::ISettingsResponse *> *outResult, const nx::sdk::IStringMap *settings) override
Protected Member Functions inherited from nx::sdk::analytics::Engine
| Engine (bool enableOutput, const std::string &integrationInstanceId="")
std::string | settingValue (const std::string &settingName) const
std::map< std::string, std::string > | currentSettings () const
virtual Result< IAction::Result > | executeAction (const std::string &actionId, Uuid objectTrackId, Uuid deviceId, int64_t timestampUs, Ptr< IObjectTrackInfo > trackInfo, const std::map< std::string, std::string > &params)
void | pushIntegrationDiagnosticEvent (IIntegrationDiagnosticEvent::Level level, std::string caption, std::string description) const
IHandler * | handler () const
void | pushManifest (const std::string &manifest)
virtual void | getManifest (Result< const IString *> *outResult) const override
virtual void | doExecuteAction (Result< IAction::Result > *outResult, const IAction *action) override

## Additional Inherited Members
Protected Attributes inherited from nx::sdk::analytics::Engine
LogUtils | logUtils

## Member Function Documentation

## ◆ settingsReceived()

Result< const ISettingsResponse * > nx::vms_server_plugins::analytics::stub::settings::Engine::settingsReceived | ( |  | ) |
| override protected virtual

Called when the settings are received from the Server, even if the values are not changed. Should perform any required (re)initialization. Called even if the settings model is empty.

Returns
  Error messages per setting (if any), as in IEngine::setSettings().

Reimplemented from nx::sdk::analytics::Engine.

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

- samples/analytics/stub_analytics_plugin/src/nx/vms_server_plugins/analytics/stub/settings/engine.h
- samples/analytics/stub_analytics_plugin/src/nx/vms_server_plugins/analytics/stub/settings/engine.cpp