ADTF  3.18.2
cBindingServer

Default Implementation of IBindingServer for a BindingObject that is able to connect to a IBindingProxy. More...

Inheritance diagram for cBindingServer:
[legend]

Public Types

typedef std::pair< adtf::ucom::IObject, IBindingObjectiobject_resolve_type
 pricate d-pointer More...
 
typedef std::pair< INamedGraphObject, IBindingObjectinamedgraphobject_resolve_type
 resolving type
 
template<typename T >
using iobject_ptr = adtf::ucom::ant::iobject_ptr< T >
 used type for iobject_ptr
 

Public Member Functions

 UCOM_RESOLVE (inamedgraphobject_resolve_type, iobject_resolve_type)
 Resolve multiple inheritance from IObject.
 
 cBindingServer (const char *strName, const iobject_ptr< const IBindingType > &pBindingType, const iobject_ptr< IObject > &pServerObject)
 CTOR to create the BindingServer. More...
 
 ~cBindingServer ()
 DTOR.
 
tResult GetBindingType (iobject_ptr< const IBindingType > &pBindingType) const override
 
tResult GetServerObject (iobject_ptr< IObject > &ppServerObject) const override
 
tResult GetBindingProxy (iobject_ptr< IBindingProxy > &pBindingProxy) const override
 
tResult Unbind () override
 
tResult Bind (const iobject_ptr< IBindingProxy > &pBindingProxy) override
 
tResult SetBindingType (const iobject_ptr< const IBindingType > &pBindingType)
 Sets the BindingType of the BindingServer . More...
 
tResult SetServerObject (const iobject_ptr< IObject > &pServerObject)
 Sets the ServerObject of the BindingServer . More...
 
- Public Member Functions inherited from object< IBindingObject, named_graph_object< IBindingServer > >
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

 cBindingServer ()
 CTOR.
 
 cBindingServer (const char *strName)
 CTOR with name initialization. More...
 
- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Use implemented Destroy() instead of delete!
 

Detailed Description

Default Implementation of IBindingServer for a BindingObject that is able to connect to a IBindingProxy.

Definition at line 25 of file interface_binding_object.h.

Member Typedef Documentation

◆ iobject_resolve_type

pricate d-pointer

resolving type

Definition at line 33 of file interface_binding_object.h.

Constructor & Destructor Documentation

◆ cBindingServer() [1/2]

cBindingServer ( const char *  strName)
protected

CTOR with name initialization.

Parameters
strName[in] Name of the object

◆ cBindingServer() [2/2]

cBindingServer ( const char *  strName,
const iobject_ptr< const IBindingType > &  pBindingType,
const iobject_ptr< IObject > &  pServerObject 
)
explicit

CTOR to create the BindingServer.

Parameters
[in]strNameName of the BindingServer.
[in]pBindingTypeBindingType of the BindingServer.
[in]pServerObjectServerObject which implements the interface IBindingType::GetInterfaceID.

Member Function Documentation

◆ SetBindingType()

tResult SetBindingType ( const iobject_ptr< const IBindingType > &  pBindingType)

Sets the BindingType of the BindingServer .

Parameters
[in]pBindingTypeBindingType of the BindingServer.

◆ SetServerObject()

tResult SetServerObject ( const iobject_ptr< IObject > &  pServerObject)

Sets the ServerObject of the BindingServer .

Parameters
[in]pServerObjectServerObject which implements the interface IBindingType::GetInterfaceID.