ADTF
|
This interface defines a dynamic binding object. More...
Public Member Functions | |
ADTF_IID (IBindingProxy, "bindingproxy.ant.streaming.adtf.iid") | |
defintion of interface id | |
virtual tResult | GetBindingType (ucom::ant::iobject_ptr< const IBindingType > &pBindingType) const =0 |
Gets the binding type of the proxy. More... | |
virtual tResult | GetServerObject (ucom::ant::iobject_ptr< ucom::ant::IObject > &pBindingServer) const =0 |
Gets the ServerObject of the proxy. More... | |
virtual tResult | BindServerObject (const ucom::ant::iobject_ptr< ucom::ant::IObject > &pBindingServer, const ucom::ant::iobject_ptr< const IBindingType > &pBindingType)=0 |
Binds the ServerObject the to the proxy. More... | |
virtual tResult | UnbindServerObject (const ucom::ant::iobject_ptr< ucom::ant::IObject > &pBindingServer)=0 |
Unbinds the ServerObject. More... | |
virtual tResult | AttachRouting (const ucom::ant::iobject_ptr< IBindingProxy > &pBindingTo)=0 |
Attaches a BindingProxy where to route the ServerObject to. More... | |
virtual tResult | DetachRouting (const ucom::ant::iobject_ptr< IBindingProxy > &pBindingTo)=0 |
Detaches a BindingProxy where the routing was set by AttachRouting. 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... | |
Protected Member Functions | |
~IBindingProxy ()=default | |
not destructable | |
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! | |
This interface defines a dynamic binding object.
Definition at line 21 of file interface_binding_proxy_intf.h.
|
pure virtual |
Attaches a BindingProxy where to route the ServerObject to.
This will automatically resets the Server which is binded to this proxy.
[in] | pBindingTo | BindingProxy where to root the Server to. |
|
pure virtual |
Binds the ServerObject the to the proxy.
This interface is used by the IBindingServer instance on IBindingServer::Bind .
[in] | pBindingServer | Server to bind. |
[in] | pBindingType | Type of the server. |
ERR_INVALID_STATE | The Proxy has no server object set (may be not binded to any) |
|
pure virtual |
Detaches a BindingProxy where the routing was set by AttachRouting.
[in] | pBindingTo | BindingProxy to detach. |
ERR_NOT_FOUND | The BindingProxy given by pBindingTo is not attached. |
|
pure virtual |
Gets the binding type of the proxy.
[in,out] | pBindingType | binding type of the proxy returned. |
ERR_POINTER | The binding type is not set. |
|
pure virtual |
Gets the ServerObject of the proxy.
[in,out] | pBindingServer | object_ptr to return the reference of the Server to. |
pBindingServer
was Reset. If the object_ptr is valid needs still to be checked by the caller. ERR_INVALID_STATE | The Proxy has no server object set (may be not connected) |
|
pure virtual |
Unbinds the ServerObject.
[in] | pBindingServer | Server to unbind. |