25template<
typename INTERFACE,
bool INTERFACE_CHECK=true>
78 if (!pBindingType.
Get())
80 RETURN_ERROR_DESC(ERR_POINTER,
"Binding proxy has not connected to a binding server");
103 RETURN_ERROR_DESC(ERR_DEVICE_IN_USE,
"This binding proxy has already been bound to a server.");
108 adtf::ucom::object_ptr<INTERFACE> pCheckServer = pBindingServer;
141 adtf::ucom::object_ptr<INTERFACE> pCheckServer = pBindingServer;
217class cDefaultBindingProxy :
public binding_proxy<adtf::ucom::ant::IObject, false>
223 "default_binding_proxy.streaming.adtf.cid",
227 cDefaultBindingProxy() {};
239using ant::binding_proxy;
242using ant::cDefaultBindingProxy;
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
#define RETURN_ERROR_DESC(_code,...)
Same as RETURN_ERROR(_error) using a printf like parameter list for detailed error description.
Definition result.h:44
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
Definition result.h:29
#define RETURN_ERROR(code)
Return specific error code, which requires the calling function's return type to be tResult.
Definition result.h:42
#define RETURN_IF_POINTER_NULL(_ptr)
Return ERR_POINTER if _ptr is nullptr, which requires the calling function's return type to be tResul...
Definition result.h:49
adtf::ucom::object_ptr< IBindingType > m_pBindingType
Type of the Server interface this proxy will provided.
Definition interface_binding_proxy.h:33
tResult SetBindingType(const adtf::ucom::iobject_ptr< const IBindingType > &pBindingType)
Definition interface_binding_proxy.h:67
adtf::ucom::object_list< IBindingProxy > m_lstBindingRoutes
List of attached Routes.
Definition interface_binding_proxy.h:35
binding_proxy(const char *strName, const adtf::ucom::iobject_ptr< const IBindingType > &pBindingType)
Definition interface_binding_proxy.h:52
adtf::ucom::object_ptr< INTERFACE > m_pServerObject
Server interface this proxy will provided.
Definition interface_binding_proxy.h:31
virtual ~binding_proxy()
DTOR.
Definition interface_binding_proxy.h:59
binding_proxy()
CTOR.
Definition interface_binding_proxy.h:39
binding_proxy(const char *strName)
Definition interface_binding_proxy.h:44
Definition interface_binding_proxy.h:218
ADTF_CLASS_ID_NAME(cDefaultBindingProxy, "default_binding_proxy.streaming.adtf.cid", "Binding Proxy")
Implements the adtf::ucom::IClassInfo.
tResult SetName(const char *strName) override
Definition named_graph_object.h:64
binding_proxy()
Definition interface_binding_proxy.h:39
named_graph_object(const named_graph_object &)=delete
virtual tResult Reset(const iobject_ptr< T > &i_oOther)=0
Reset this object_ptr<> with the content of another iobject_ptr<>
virtual T * Get() const =0
Get raw pointer to shared object.
Definition object_ptr.h:384
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition bindingproxyoutport.h:16
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
object_enum< T, INTERFACE_TYPE, std::list > object_list
Definition object_list.h:402
tResult reset_object_ptr(iobject_ptr< const T > &o_oDest, const iobject_ptr< U > &i_oSrc)
Alias always bringing the latest version of ant::reset_object_ptr() into scope.
Definition object_ptr_utilities.h:166
object_ptr< T > ucom_object_ptr_cast(object_ptr< T > oCasted)
Alias always bringing the latest version of ant::ucom_object_ptr_cast() into scope.
Definition object_ptr_utilities.h:104
ant::iobject_ptr< T > iobject_ptr
Alias always bringing the latest version of ant::iobject_ptr into scope.
Definition object_ptr_intf.h:437
object_ptr< Implementation > make_object_ptr(Args &&... args)
Alias always bringing the latest version of ant::make_object_ptr() into scope.
Definition object_ptr_utilities.h:129
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14