ADTF
|
Default IInterfaceBinding implementation. More...
Public Member Functions | |
cInterfaceBinding () | |
CTOR. | |
virtual | ~cInterfaceBinding () |
DTOR. | |
tResult | GetBindingObjects (ucom::ant::iobject_list< IBindingObject > &lstBindingObject) |
Return a list of all Binding Objects on lstBindingObject . More... | |
tResult | GetBindingObjects (ucom::ant::iobject_list< const IBindingObject > &lstBindingObject) const |
Return a list of all Binding Objects on lstBindingObject . More... | |
tResult | FindBindingObject (const char *strName, ucom::ant::iobject_ptr< const ucom::ant::IObject > &pIBindingObject) const |
This Function will search a binding object with the given strName and return it on pIBindingObject . More... | |
tResult | FindBindingObject (const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pIBindingObject) |
This Function will search a binding object with the given strName and return it on pIBindingObject . More... | |
virtual tResult | RegisterBindingObject (const ucom::ant::iobject_ptr< IBindingObject > &pBindingObject) |
RegisterBindingObject will register the given pBindingObject within the internal registry. More... | |
tResult | RegisterBindingObject (const ucom::ant::iobject_ptr< IBindingServer > &pBindingServer) |
Registers the given pBindingServer . More... | |
tResult | RegisterBindingObject (const ucom::ant::iobject_ptr< IBindingClient > &pBindingClient) |
Registers the given pBindingClient . More... | |
tResult | UnregisterBindingObject (const ucom::ant::iobject_ptr< const IBindingObject > &pBindingObject) |
Unregisters the given pBindingObject . More... | |
tResult | Unbind () |
Will Unbind (IBindingObject::Unbind ) every registered binding objects registered with RegisterBindingObject . More... | |
tResult | ReleaseBindingObjects () |
ReleaseBindingObjects will Unbind (IBindingObject::Unbind ) every registered binding objects registered with RegisterBindingObject and unregister them automatically. More... | |
Private Member Functions | |
A_UTILS_D (cInterfaceBinding) | |
D Pointer Implementation for private members. | |
Default IInterfaceBinding implementation.
Definition at line 22 of file interface_binding.h.
tResult FindBindingObject | ( | const char * | strName, |
ucom::ant::iobject_ptr< const ucom::ant::IObject > & | pIBindingObject | ||
) | const |
This Function will search a binding object with the given strName
and return it on pIBindingObject
.
[in] | strName | Name to search for. ( see IBindingObject::GetName ). |
[out] | pIBindingObject | object refernce to the binding object if succeeded. |
Referenced by interface_binding< Interface >::FindBindingObject().
tResult FindBindingObject | ( | const char * | strName, |
ucom::ant::iobject_ptr< ucom::ant::IObject > & | pIBindingObject | ||
) |
This Function will search a binding object with the given strName
and return it on pIBindingObject
.
[in] | strName | Name to search for. ( see IBindingObject::GetName ). |
[out] | pIBindingObject | object refernce to the binding object if succeeded. |
tResult GetBindingObjects | ( | ucom::ant::iobject_list< const IBindingObject > & | lstBindingObject | ) | const |
Return a list of all Binding Objects on lstBindingObject
.
[out] | lstBindingObject | object list to push the binding objects to. |
tResult GetBindingObjects | ( | ucom::ant::iobject_list< IBindingObject > & | lstBindingObject | ) |
Return a list of all Binding Objects on lstBindingObject
.
[out] | lstBindingObject | object list to push the binding objects to. |
Referenced by interface_binding< Interface >::GetBindingObjects().
tResult RegisterBindingObject | ( | const ucom::ant::iobject_ptr< IBindingClient > & | pBindingClient | ) |
Registers the given pBindingClient
.
[in] | pBindingClient | The binding client to register. |
|
virtual |
RegisterBindingObject will register the given pBindingObject
within the internal registry.
[in] | pBindingObject | The binding object to register. |
ERR_NOERROR | No Error. |
ERR_UNEXPECTED | Internal Error occurred. |
ERR_POINTER | pBindingObject is invalid. |
ERR_INVALID_ARG | Can not register a Object with the same name twice. |
Referenced by cGraphObject::CreateInterfaceClient(), and cGraphObject::CreateInterfaceServer().
tResult RegisterBindingObject | ( | const ucom::ant::iobject_ptr< IBindingServer > & | pBindingServer | ) |
Registers the given pBindingServer
.
[in] | pBindingServer | The binding server to register. |
tResult ReleaseBindingObjects | ( | ) |
ReleaseBindingObjects will Unbind (IBindingObject::Unbind ) every registered binding objects registered with RegisterBindingObject
and unregister them automatically.
ERR_NOERROR | No Error. |
ERR_POINTER | Internal Error. |
tResult Unbind | ( | ) |
Will Unbind (IBindingObject::Unbind ) every registered binding objects registered with RegisterBindingObject
.
ERR_NOERROR | No Error. |
ERR_POINTER | Internal Error. |
tResult UnregisterBindingObject | ( | const ucom::ant::iobject_ptr< const IBindingObject > & | pBindingObject | ) |
Unregisters the given pBindingObject
.
[in] | pBindingObject | The binding object to unregister. |
ERR_NOERROR | No Error. |
ERR_UNEXPECTED | Internal Error occurred. |
ERR_POINTER | pBindingObject is invalid. |
ERR_NOT_FOUND | The given pBindingObject not found in registry. |