Kanzi Connect 3.9.10
kanzi::connect::RuntimeDataDispatcher Class Referenceabstract

Interface used to dispatch contents of binary stream into individual variables. More...

#include <runtimedataserializer.hpp>

Public Member Functions

virtual void dispatch (RuntimeExternalizerContextBase *context, uint32_t hash, bool value)=0
 Invoked to dispatch a boolean value.
 
virtual void dispatch (RuntimeExternalizerContextBase *context, uint32_t hash, const string &value)=0
 Invoked to dispatch a string value.
 
virtual void dispatch (RuntimeExternalizerContextBase *context, uint32_t hash, double value)=0
 Invoked to dispatch a float value.
 
virtual void dispatch (RuntimeExternalizerContextBase *context, uint32_t hash, int value)=0
 Invoked to dispatch an integer value.
 
virtual void dispatchList (RuntimeExternalizerContextBase *context, uint32_t hash, RuntimeStreamContentDataList list)=0
 Invoked to dispatch object content.
 
virtual void dispatchObject (RuntimeExternalizerContextBase *context, uint32_t hash, RuntimeStreamContentDataList object)=0
 Invoked to dispatch object content.
 

Detailed Description

Interface used to dispatch contents of binary stream into individual variables.

Member Function Documentation

◆ dispatch() [1/4]

virtual void kanzi::connect::RuntimeDataDispatcher::dispatch ( RuntimeExternalizerContextBase * context,
uint32_t hash,
bool value )
pure virtual

Invoked to dispatch a boolean value.

Parameters
contextuser provided context value.
hashhash code of the name of the node.
valueThe value to set.

◆ dispatch() [2/4]

virtual void kanzi::connect::RuntimeDataDispatcher::dispatch ( RuntimeExternalizerContextBase * context,
uint32_t hash,
const string & value )
pure virtual

Invoked to dispatch a string value.

Parameters
contextuser provided context value.
hashhash code of the name of the node.
valueThe value to set.

◆ dispatch() [3/4]

virtual void kanzi::connect::RuntimeDataDispatcher::dispatch ( RuntimeExternalizerContextBase * context,
uint32_t hash,
double value )
pure virtual

Invoked to dispatch a float value.

Parameters
contextuser provided context value.
hashhash code of the name of the node.
valueThe value to set.

◆ dispatch() [4/4]

virtual void kanzi::connect::RuntimeDataDispatcher::dispatch ( RuntimeExternalizerContextBase * context,
uint32_t hash,
int value )
pure virtual

Invoked to dispatch an integer value.

Parameters
contextuser provided context value.
hashhash code of the name of the node.
valueThe value to set.

◆ dispatchList()

virtual void kanzi::connect::RuntimeDataDispatcher::dispatchList ( RuntimeExternalizerContextBase * context,
uint32_t hash,
RuntimeStreamContentDataList list )
pure virtual

Invoked to dispatch object content.

Parameters
hashthe hash code of the node.
listthe list

◆ dispatchObject()

virtual void kanzi::connect::RuntimeDataDispatcher::dispatchObject ( RuntimeExternalizerContextBase * context,
uint32_t hash,
RuntimeStreamContentDataList object )
pure virtual

Invoked to dispatch object content.

Parameters
hashThe hash code of the node.
objectThe object.

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