11#ifndef WSF_BM_GENERIC_TYPE_WRAPPER_HPP
12#define WSF_BM_GENERIC_TYPE_WRAPPER_HPP
21template <
typename tWrappedType,
typename tPo
interType>
54template <
typename tWrappedType>
65 :
WsfBMTypeWrapper<tWrappedType,
std::shared_ptr<tWrappedType>>(script_class_name, data_to_wrap)
68 virtual void SetTable(std::shared_ptr<tWrappedType>& data_to_wrap)
77template <
typename tWrappedType>
88 :
WsfBMTypeWrapper<tWrappedType, tWrappedType *>(script_class_name, data_to_wrap)
91 virtual void SetData(tWrappedType* data_to_wrap)
WsfBMManagedTypeWrapper(const std::string &script_class_name, const std::shared_ptr< tWrappedType > &data_to_wrap)
Definition WsfBMGenericTypeWrapper.hpp:64
WsfBMManagedTypeWrapper(const std::string &script_class_name)
Definition WsfBMGenericTypeWrapper.hpp:58
virtual void SetTable(std::shared_ptr< tWrappedType > &data_to_wrap)
Definition WsfBMGenericTypeWrapper.hpp:68
virtual const char * GetScriptClassName() const
Definition WsfBMGenericTypeWrapper.hpp:41
virtual tType GetRawPtr() const
Definition WsfBMGenericTypeWrapper.hpp:42
std::string m_script_class_name
Definition WsfBMGenericTypeWrapper.hpp:47
tPointerType m_wrapped_ptr
Definition WsfBMGenericTypeWrapper.hpp:48
virtual WsfBMTypeWrapper * Clone() const
Definition WsfBMGenericTypeWrapper.hpp:36
WsfBMTypeWrapper(const std::string &script_class_name)
Definition WsfBMGenericTypeWrapper.hpp:27
tPointerType tType
Definition WsfBMGenericTypeWrapper.hpp:25
virtual bool IsValidRef() const
Definition WsfBMGenericTypeWrapper.hpp:44
WsfBMTypeWrapper(const std::string &script_class_name, tPointerType data_to_wrap)
Definition WsfBMGenericTypeWrapper.hpp:31
virtual void SetData(tWrappedType *data_to_wrap)
Definition WsfBMGenericTypeWrapper.hpp:91
WsfBMUnmanagedTypeWrapper(const std::string &script_class_name)
Definition WsfBMGenericTypeWrapper.hpp:81
WsfBMUnmanagedTypeWrapper(const std::string &script_class_name, tWrappedType *data_to_wrap)
Definition WsfBMGenericTypeWrapper.hpp:87
WsfObject()
This is the constructor for the WsfObject class.
Definition WsfObject.cpp:88
Template specialization for wsf::comm::Address. Allows usage of Address in std::unordered_map/set.
Definition WsfCommAddress.hpp:185