ADTF
Loading...
Searching...
No Matches
adtf::streaming::ant::cBindingClient Class Reference

#include <interface_binding_object.h>

Inherits adtf::ucom::catwo::object< IBindingObject, named_graph_object< IBindingClient > >.

Public Types

typedef std::pair< adtf::ucom::IObject, IBindingObjectiobject_resolve_type
 private dpointer
 
typedef std::pair< INamedGraphObject, IBindingObjectinamedgraphobject_resolve_type
 object resolver
 

Public Member Functions

 cBindingClient (const char *strName, const ucom::ant::iobject_ptr< const IBindingType > &pInterfaceType)
 
 ~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)
 
virtual tResult SetServerObject (const ucom::ant::iobject_ptr< ucom::ant::IObject > &pServerObject)
 
- Public Member Functions inherited from adtf::ucom::catwo::object< IBindingObject, named_graph_object< IBindingClient > >
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
- Public Member Functions inherited from adtf::ucom::ant::IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 

Protected Member Functions

 cBindingClient ()
 CTOR.
 
- Protected Member Functions inherited from adtf::ucom::ant::IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Detailed Description

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

See also
adtf::cDynamicBindingObject.

Member Typedef Documentation

◆ iobject_resolve_type

Constructor & Destructor Documentation

◆ cBindingClient()

adtf::streaming::ant::cBindingClient::cBindingClient ( const char * strName,
const ucom::ant::iobject_ptr< const IBindingType > & pInterfaceType )
explicit

CTOR to create the Binding Object.

Parameters
[in]strNameName of the binding Object.
[in]pInterfaceTypeDynamicBindingType of the binding Object.

Member Function Documentation

◆ SetBindingType()

tResult adtf::streaming::ant::cBindingClient::SetBindingType ( const ucom::ant::iobject_ptr< const IBindingType > & pBindingType)

Sets the Bindingtype.

Parameters
[in]pBindingTypeBindingtype.
Returns
Standard Result Code.

◆ SetServerObject()

virtual tResult adtf::streaming::ant::cBindingClient::SetServerObject ( const ucom::ant::iobject_ptr< ucom::ant::IObject > & pServerObject)
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.

Parameters
[in]pServerObjectServerObject which implements the interface IBindingType::GetInterfaceID.
Returns
Standard Result Code.

The documentation for this class was generated from the following file: