ADTF
|
Default Implementation of IBindingServer for a BindingObject that is able to connect to a IBindingProxy. More...
Public Member Functions | |
cWeakBindingServer (const char *strName, const ucom::ant::iobject_ptr< const ant::IBindingType > &pBindingType, const ucom::ant::iobject_ptr< ucom::ant::IObject > &pServerObject) | |
CTOR to create the BindingServer. More... | |
tResult | GetBindingType (ucom::ant::iobject_ptr< const ant::IBindingType > &pBindingType) const override |
tResult | GetServerObject (ucom::ant::iobject_ptr< ucom::ant::IObject > &pServerObject) const override |
tResult | GetBindingProxy (ucom::ant::iobject_ptr< ant::IBindingProxy > &pBindingProxy) const override |
tResult | Unbind () override |
tResult | Bind (const ucom::ant::iobject_ptr< ant::IBindingProxy > &pBindingProxy) override |
![]() | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. More... | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. More... | |
void | Destroy () const override |
Destruct and deallocate instantiations of type IObject . More... | |
![]() | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Private Member Functions | |
util::cString | GetServerObjectName () const |
Additional Inherited Members | |
![]() | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Default Implementation of IBindingServer for a BindingObject that is able to connect to a IBindingProxy.
This implementation stores a weak pointer to the server object only. This way it can be used to register an object by itself without breaking reference counting.
Definition at line 168 of file interface_binding_object.h.
cWeakBindingServer | ( | const char * | strName, |
const ucom::ant::iobject_ptr< const ant::IBindingType > & | pBindingType, | ||
const ucom::ant::iobject_ptr< ucom::ant::IObject > & | pServerObject | ||
) |
CTOR to create the BindingServer.
[in] | strName | Name of the BindingServer. |
[in] | pBindingType | BindingType of the BindingServer. |
[in] | pServerObject | ServerObject which implements the interface IBindingType::GetInterfaceID. |