Kanzi Connect 3.9.10
kanzi::connect::ConnectPlugin Class Reference

A plug-in module that provides support for Kanzi Connect Context sharing. More...

#include <connect_plugin.hpp>

Inheritance diagram for kanzi::connect::ConnectPlugin:
PluginsModule

Public Member Functions

virtual ContextSharedPtr getContext ()
 Returns the context that is hosted by this module.
 
virtual void registerMetadataOverride (ObjectFactory &factory) override
 
virtual ~ConnectPlugin () override
 

Protected Attributes

ContextSharedPtr m_context
 The context instance that is hosted by this module.
 

Detailed Description

A plug-in module that provides support for Kanzi Connect Context sharing.

This module hosts a Context instance that can be used to access to services and content in Kanzi Connect server. The context instance can be shared elsewhere by performing a look-up for this module (in Kanzi UI domain) and then accessing the inneer context with a getContext() call.

Constructor & Destructor Documentation

◆ ~ConnectPlugin()

virtual kanzi::connect::ConnectPlugin::~ConnectPlugin ( )
overridevirtual

Member Function Documentation

◆ getContext()

virtual ContextSharedPtr kanzi::connect::ConnectPlugin::getContext ( )
virtual

Returns the context that is hosted by this module.

Returns
Shared pointer to the Context instance.

◆ registerMetadataOverride()

virtual void kanzi::connect::ConnectPlugin::registerMetadataOverride ( ObjectFactory & factory)
overridevirtual

Member Data Documentation

◆ m_context

ContextSharedPtr kanzi::connect::ConnectPlugin::m_context
protected

The context instance that is hosted by this module.


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