BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions | Protected Member Functions
BeeeOn::DIWrapper Class Referenceabstract

#include <DIWrapper.h>

Inheritance diagram for BeeeOn::DIWrapper:
BeeeOn::AbstractDIWrapper< T >

Public Member Functions

virtual void * raw () const =0
 
virtual int referenceCount ()=0
 
virtual const std::type_info & type () const =0
 

Protected Member Functions

virtual void injectRef (const std::string &name, DIWrapper &wrapper)=0
 
virtual void injectNumber (const std::string &name, double value)=0
 
virtual void injectText (const std::string &name, const std::string &value)=0
 
virtual void injectTime (const std::string &name, const Poco::Timespan &value)=0
 
virtual void injectList (const std::string &name, const std::list< Poco::Dynamic::Var > &l)=0
 
virtual void injectMap (const std::string &name, const std::map< Poco::Dynamic::Var, Poco::Dynamic::Var > &l)=0
 
virtual void callHook (const std::string &name)=0
 
virtual bool hasHook (const std::string &name) const =0
 

Detailed Description

Interface to wrapper around a target instance. This wrapper can be used to manage a collection of polymorphic wrappers around different objects. All wrappers are expected to manage the underlying instance via Poco::SharedPtr<?>.

Member Function Documentation

virtual void* BeeeOn::DIWrapper::raw ( ) const
pure virtual

Return pointer to Poco::SharedPtr<?>

Implemented in BeeeOn::AbstractDIWrapper< T >.

virtual int BeeeOn::DIWrapper::referenceCount ( )
pure virtual

Return count of references in the Poco::SharedPtr<?>

Implemented in BeeeOn::AbstractDIWrapper< T >.

virtual const std::type_info& BeeeOn::DIWrapper::type ( ) const
pure virtual

Return type of the underlying instance. This is typeid(?) from Poco::SharedPtr<?>.

Implemented in BeeeOn::AbstractDIWrapper< T >.


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