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

#include <interface_binding_object.h>

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

Public Types

typedef std::pair< adtf::ucom::IObject, IBindingObjectiobject_resolve_type
 pricate d-pointer
 
typedef std::pair< INamedGraphObject, IBindingObjectinamedgraphobject_resolve_type
 resolving type
 
template<typename T>
using iobject_ptr = adtf::ucom::ant::iobject_ptr < T >
 Resolve multiple inheritance from IObject.
 

Public Member Functions

 cBindingServer (const char *strName, const iobject_ptr< const IBindingType > &pBindingType, const iobject_ptr< IObject > &pServerObject)
 
 ~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)
 
tResult SetServerObject (const iobject_ptr< IObject > &pServerObject)
 
- Public Member Functions inherited from adtf::ucom::catwo::object< IBindingObject, named_graph_object< IBindingServer > >
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

 cBindingServer ()
 CTOR.
 
 cBindingServer (const char *strName)
 
- 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 IBindingServer for a BindingObject that is able to connect to a IBindingProxy.

Member Typedef Documentation

◆ iobject_ptr

Resolve multiple inheritance from IObject.

used type for iobject_ptr

◆ iobject_resolve_type

Constructor & Destructor Documentation

◆ cBindingServer() [1/2]

adtf::streaming::ant::cBindingServer::cBindingServer ( const char * strName)
protected

CTOR with name initialization

Parameters
strName[in] Name of the object

◆ cBindingServer() [2/2]

adtf::streaming::ant::cBindingServer::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 adtf::streaming::ant::cBindingServer::SetBindingType ( const iobject_ptr< const IBindingType > & pBindingType)

Sets the BindingType of the BindingServer .

Parameters
[in]pBindingTypeBindingType of the BindingServer.

◆ SetServerObject()

tResult adtf::streaming::ant::cBindingServer::SetServerObject ( const iobject_ptr< IObject > & pServerObject)

Sets the ServerObject of the BindingServer .

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

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