|
ADTF
|
#include <interface_binding_proxy_intf.h>
Inherits adtf::streaming::ant::INamedGraphObject.
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 |
| virtual tResult | GetServerObject (ucom::ant::iobject_ptr< ucom::ant::IObject > &pBindingServer) const=0 |
| virtual tResult | BindServerObject (const ucom::ant::iobject_ptr< ucom::ant::IObject > &pBindingServer, const ucom::ant::iobject_ptr< const IBindingType > &pBindingType)=0 |
| virtual tResult | UnbindServerObject (const ucom::ant::iobject_ptr< ucom::ant::IObject > &pBindingServer)=0 |
| virtual tResult | AttachRouting (const ucom::ant::iobject_ptr< IBindingProxy > &pBindingTo)=0 |
| virtual tResult | DetachRouting (const ucom::ant::iobject_ptr< IBindingProxy > &pBindingTo)=0 |
Public Member Functions inherited from adtf::streaming::ant::INamedGraphObject | |
| ADTF_IID (INamedGraphObject, "namedgraphobject.ant.streaming.adtf.iid") | |
| defintion of interface id | |
| virtual tResult | GetName (base::ant::IString &&strName) const =0 |
| virtual tResult | SetName (const char *strName)=0 |
| virtual tResult | SetParent (const ucom::ant::IObject *oParentObject)=0 |
| virtual tResult | GetParent (const ucom::ant::IObject *&poParentObject) const =0 |
Public Member Functions inherited from adtf::ucom::ant::IObject | |
| ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Protected Member Functions | |
| ~IBindingProxy ()=default | |
| not destructable | |
Protected Member Functions inherited from adtf::streaming::ant::INamedGraphObject | |
| ~INamedGraphObject ()=default | |
| not destructable | |
Protected Member Functions inherited from adtf::ucom::ant::IObject | |
| ~IObject ()=default | |
| Protected destructor --> Only the final implementation can be destroyed! | |
This interface defines a dynamic binding object.
|
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. |