64 const std::string& proxy_name) = 0;
73 template <
typename PropertyType>
78 PropertyType* m_setter_ref;
84 ARMARX_CHECK(m_setter_ref !=
nullptr) <<
"`m_setter_ref` must not be a nullptr";
98 *m_setter_ref = ice_manager->getProxy<PropertyType>(proxy_name);
101 *m_setter_ref = ice_manager->getTopic<PropertyType>(proxy_name);
virtual ~ProxyPropertyDefinitionBase()
virtual void write_proxy_to_setter(IceManagerPtr ice_manager, const std::string &proxy_name)=0
ProxyPropertyDefinitionBase(ProxyType proxy_type)
const ProxyType m_proxy_type
virtual void write_proxy_to_setter(IceManagerPtr ice_manager, const std::string &proxy_name) override
virtual ~ProxyPropertyDefinition()
ProxyPropertyDefinition(PropertyType *setter_ref, ProxyType proxy_type)
#define ARMARX_CHECK(expression)
Shortcut for ARMARX_CHECK_EXPRESSION.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< IceManager > IceManagerPtr
IceManager smart pointer.