Kanzi Connect 3.9.10
kanzi::connect::ContentLoader::Observer Class Referenceabstract

Class that contains callbacks to deliver the results. More...

#include <content_loader.hpp>

Inheritance diagram for kanzi::connect::ContentLoader::Observer:
kanzi::connect::ContentAdapter kanzi::connect::DebugContentObserver kanzi::connect::RuntimeDataSubscriber

Public Member Functions

virtual void onContentInvalidated (ContentLoader *loader)=0
 Callback to notify that previously loaded content is no longer valid.
 
virtual void onContentLoaded (ContentLoader *loader, ContentResult *result)=0
 Callback to notify that new content has been loaded.
 
virtual void onRuntimeDataUpdateReceived (ContentLoader *loader, const string &uri, const string &stream)=0
 Callback to notify when runtime data update is received.
 

Detailed Description

Class that contains callbacks to deliver the results.

Member Function Documentation

◆ onContentInvalidated()

virtual void kanzi::connect::ContentLoader::Observer::onContentInvalidated ( ContentLoader * loader)
pure virtual

Callback to notify that previously loaded content is no longer valid.

Parameters
loaderContent loader that invalidated the content.

Implemented in kanzi::connect::DebugContentObserver, and kanzi::connect::RuntimeDataSubscriber.

◆ onContentLoaded()

virtual void kanzi::connect::ContentLoader::Observer::onContentLoaded ( ContentLoader * loader,
ContentResult * result )
pure virtual

Callback to notify that new content has been loaded.

Parameters
loaderContent loader that finished loading.
resultResult of content query.

Implemented in kanzi::connect::DebugContentObserver, and kanzi::connect::RuntimeDataSubscriber.

◆ onRuntimeDataUpdateReceived()

virtual void kanzi::connect::ContentLoader::Observer::onRuntimeDataUpdateReceived ( ContentLoader * loader,
const string & uri,
const string & stream )
pure virtual

Callback to notify when runtime data update is received.

Implemented in kanzi::connect::RuntimeDataSubscriber.


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