ADTF  3.18.2
IBindingServerabstract

This interface defines a dynamic binding object. More...

Inheritance diagram for IBindingServer:
[legend]

Public Member Functions

 ADTF_IID (IBindingServer, "bindingserver.ant.streaming.adtf.iid")
 definiton of interface id
 
virtual tResult Bind (const ucom::ant::iobject_ptr< IBindingProxy > &pBindingProxy)=0
 Binds the given Binding Proxy. More...
 
- Public Member Functions inherited from IBindingObject
 ADTF_IID (IBindingObject, "bindingobject.ant.streaming.adtf.iid")
 definiton of interface id
 
virtual tResult GetBindingType (ucom::ant::iobject_ptr< const IBindingType > &pBindingType) const =0
 Gets the Binding Type. More...
 
virtual tResult GetServerObject (ucom::ant::iobject_ptr< IObject > &pServerObject) const =0
 Gets the Server Object of the BindingObject. More...
 
virtual tResult GetBindingProxy (ucom::ant::iobject_ptr< IBindingProxy > &pBindingProxy) const =0
 Gets the Binding Proxy of the Dynamic Binding. More...
 
virtual tResult Unbind ()=0
 Unbind All. More...
 
- Public Member Functions inherited from INamedGraphObject
 ADTF_IID (INamedGraphObject, "namedgraphobject.ant.streaming.adtf.iid")
 defintion of interface id
 
virtual tResult GetName (base::ant::IString &&strName) const =0
 Gets the Name of the object to the IString rvalue reference strName. More...
 
virtual tResult SetName (const char *strName)=0
 Sets the Name of the object. More...
 
virtual tResult SetParent (const ucom::ant::IObject *oParentObject)=0
 Sets the Parent of the object. More...
 
virtual tResult GetParent (const ucom::ant::IObject *&poParentObject) const =0
 Retrieves the Parent of the object. More...
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast() More...
 

Additional Inherited Members

- Protected Member Functions inherited from INamedGraphObject
 ~INamedGraphObject ()=default
 not destructable
 
- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Use implemented Destroy() instead of delete!
 

Detailed Description

This interface defines a dynamic binding object.

Definition at line 20 of file interface_binding_server_intf.h.

Member Function Documentation

◆ Bind()

virtual tResult Bind ( const ucom::ant::iobject_ptr< IBindingProxy > &  pBindingProxy)
pure virtual

Binds the given Binding Proxy.

For a Client Binding Object the pBindingObject must be a Server Binding Object. If succeeded the the Server Object can be retrieved via IBindingType::GetServerObject

For a Server Binding Object the pBindingObject must be a Client Binding Object. If succeeded the Server Object of this Server Binding Object can be retrieved via IBindingType::GetServerObject on given Client Binding Object.

Parameters
[in,out]pBindingProxyBinding proxy to bind.
Remarks
Use a ucom::cObjectPtr<ucom::IObject> for pServerObject, it will Refs if function succeeded.
Returns
Standard Result Code.
Return values
ERR_NOERRORfunction succeeded.
ERR_POINTERpBindingObject is invalid.
ERR_INVALID_TYPEpBindingObject has wrong direction. see description of this function.