This interface defines a dynamic binding object.
More...
#include <interface_binding_proxy_intf.h>
|
| ~IBindingProxy ()=default |
| not destructable
|
|
| ~INamedGraphObject ()=default |
| not destructable
|
|
| ~IObject ()=default |
| Protected destructor --> Only the final implementation can be destroyed!
|
|
This interface defines a dynamic binding object.
Definition at line 21 of file interface_binding_proxy_intf.h.
◆ AttachRouting()
Attaches a BindingProxy where to route the ServerObject to.
This will automatically resets the Server which is binded to this proxy.
- Parameters
-
[in] | pBindingTo | BindingProxy where to root the Server to. |
- Returns
- Standard Result Code.
◆ BindServerObject()
Binds the ServerObject the to the proxy.
This interface is used by the IBindingServer instance on IBindingServer::Bind .
- Parameters
-
[in] | pBindingServer | Server to bind. |
[in] | pBindingType | Type of the server. |
- Warning
- The proxy will return the
- Returns
- Standard Result Code
- Return values
-
ERR_INVALID_STATE | The Proxy has no server object set (may be not binded to any) |
◆ DetachRouting()
Detaches a BindingProxy where the routing was set by AttachRouting.
- Parameters
-
[in] | pBindingTo | BindingProxy to detach. |
- Returns
- Standard Result Code.
- Return values
-
ERR_NOT_FOUND | The BindingProxy given by pBindingTo is not attached. |
◆ GetBindingType()
Gets the binding type of the proxy.
- Parameters
-
[in,out] | pBindingType | binding type of the proxy returned. |
- Returns
- Standard Result Code
- Return values
-
ERR_POINTER | The binding type is not set. |
◆ GetServerObject()
Gets the ServerObject of the proxy.
- Parameters
-
[in,out] | pBindingServer | object_ptr to return the reference of the Server to. |
- Warning
- The proxy will return with no error after the
pBindingServer
was Reset. If the object_ptr is valid needs still to be checked by the caller.
- Returns
- Standard Result Code
- Return values
-
ERR_INVALID_STATE | The Proxy has no server object set (may be not connected) |
◆ UnbindServerObject()
Unbinds the ServerObject.
- Parameters
-
[in] | pBindingServer | Server to unbind. |
- Returns
- Standard Result Code