BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
#include <DIWrapper.h>
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 |
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<?>.
|
pure virtual |
Return pointer to Poco::SharedPtr<?>
Implemented in BeeeOn::AbstractDIWrapper< T >.
|
pure virtual |
Return count of references in the Poco::SharedPtr<?>
Implemented in BeeeOn::AbstractDIWrapper< T >.
|
pure virtual |
Return type of the underlying instance. This is typeid(?) from Poco::SharedPtr<?>.
Implemented in BeeeOn::AbstractDIWrapper< T >.