ADTF
|
Default Implementation of adtf::IDynamicBindingObject for one binding object that is able to connect to exactly one server object. More...
Public Types | |
typedef std::pair< adtf::ucom::IObject, IBindingObject > | iobject_resolve_type |
private dpointer More... | |
typedef std::pair< INamedGraphObject, IBindingObject > | inamedgraphobject_resolve_type |
object resolver | |
Public Member Functions | |
UCOM_RESOLVE (inamedgraphobject_resolve_type, iobject_resolve_type) | |
cBindingClient (const char *strName, const ucom::ant::iobject_ptr< const IBindingType > &pInterfaceType) | |
CTOR to create the Binding Object. More... | |
~cBindingClient () | |
Default DTOR. | |
tResult | GetBindingType (ucom::ant::iobject_ptr< const IBindingType > &pBindingType) const override |
tResult | GetServerObject (ucom::ant::iobject_ptr< ucom::ant::IObject > &pServerObject) const override |
tResult | GetBindingProxy (ucom::ant::iobject_ptr< IBindingProxy > &pBindingProxy) const override |
tResult | Unbind () override |
tResult | Bind (const ucom::ant::iobject_ptr< IBindingProxy > &pBindingProxy) override |
tResult | SetBindingType (const ucom::ant::iobject_ptr< const IBindingType > &pBindingType) |
Sets the Bindingtype. More... | |
virtual tResult | SetServerObject (const ucom::ant::iobject_ptr< ucom::ant::IObject > &pServerObject) |
Sets the ServerObject of the BindingClient. More... | |
Public Member Functions inherited from object< IBindingObject, named_graph_object< IBindingClient > > | |
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... | |
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 | |
cBindingClient () | |
CTOR. | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Default Implementation of adtf::IDynamicBindingObject for one binding object that is able to connect to exactly one server object.
This binding object is the connection point to access a dynamic binding via adtf::IDynamicBindingObject::GetServerObject(). A client declares the required server object this cClientBindingObject
Definition at line 97 of file interface_binding_object.h.
typedef std::pair<adtf::ucom::IObject, IBindingObject> iobject_resolve_type |
|
explicit |
CTOR to create the Binding Object.
[in] | strName | Name of the binding Object. |
[in] | pInterfaceType | DynamicBindingType of the binding Object. |
tResult SetBindingType | ( | const ucom::ant::iobject_ptr< const IBindingType > & | pBindingType | ) |
Sets the Bindingtype.
[in] | pBindingType | Bindingtype. |
|
virtual |
Sets the ServerObject of the BindingClient.
Usually this is used after connection are established in IFilter::State_Ready. Use it to override if you want to specialize your client.
[in] | pServerObject | ServerObject which implements the interface IBindingType::GetInterfaceID. |