ADTF
Loading...
Searching...
No Matches
adtf::streaming::ant::binding_proxy< INTERFACE, INTERFACE_CHECK > Class Template Reference

#include <interface_binding_proxy.h>

Inherits adtf::streaming::ant::named_graph_object< IBindingProxy >.

Public Member Functions

 binding_proxy ()
 CTOR.
 
 binding_proxy (const char *strName)
 
 binding_proxy (const char *strName, const adtf::ucom::iobject_ptr< const IBindingType > &pBindingType)
 
virtual ~binding_proxy ()
 DTOR.
 
tResult SetBindingType (const adtf::ucom::iobject_ptr< const IBindingType > &pBindingType)
 
tResult GetBindingType (adtf::ucom::iobject_ptr< const IBindingType > &pBindingType) const override
 
tResult GetServerObject (adtf::ucom::iobject_ptr< adtf::ucom::IObject > &pBindingServer) const override
 
tResult BindServerObject (const adtf::ucom::iobject_ptr< adtf::ucom::IObject > &pBindingServer, const adtf::ucom::iobject_ptr< const IBindingType > &pBindingType) override
 
tResult UnbindServerObject (const adtf::ucom::iobject_ptr< adtf::ucom::IObject > &pBindingServer) override
 
tResult AttachRouting (const adtf::ucom::iobject_ptr< IBindingProxy > &pBindingTo) override
 
tResult DetachRouting (const adtf::ucom::iobject_ptr< IBindingProxy > &pBindingTo) override
 
- Public Member Functions inherited from adtf::streaming::ant::named_graph_object< IBindingProxy >
 named_graph_object ()
 CTOR.
 
 named_graph_object (const char *strName)
 
virtual ~named_graph_object ()=default
 DTOR.
 
tResult SetName (const char *strName) override
 
tResult GetName (base::ant::IString &&strName) const override
 
tResult SetParent (const ucom::ant::IObject *poParentObject) override
 
tResult GetParent (const ucom::ant::IObject *&poParentObject) const override
 
 named_graph_object ()
 CTOR.
 
 named_graph_object (const char *strName)
 
virtual ~named_graph_object ()=default
 DTOR.
 
tResult SetName (const char *strName) override
 
tResult GetName (base::ant::IString &&strName) const override
 
tResult SetParent (const ucom::ant::IObject *poParentObject) override
 
tResult GetParent (const ucom::ant::IObject *&poParentObject) const override
 
 named_graph_object ()
 CTOR.
 
 named_graph_object (const char *strName)
 
virtual ~named_graph_object ()=default
 DTOR.
 
tResult SetName (const char *strName) override
 
tResult GetName (base::ant::IString &&strName) const override
 
tResult SetParent (const ucom::ant::IObject *poParentObject) override
 
tResult GetParent (const ucom::ant::IObject *&poParentObject) const override
 
- Public Member Functions inherited from adtf::ucom::catwo::object< INamedGraphObject, IBindingProxy >
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 Attributes

adtf::ucom::object_ptr< INTERFACE > m_pServerObject
 Server interface this proxy will provided.
 
adtf::ucom::object_ptr< IBindingTypem_pBindingType
 Type of the Server interface this proxy will provided.
 
adtf::ucom::object_list< IBindingProxym_lstBindingRoutes
 List of attached Routes.
 

Additional Inherited Members

- Protected Member Functions inherited from adtf::streaming::ant::named_graph_object< IBindingProxy >
 named_graph_object (const named_graph_object &)=delete
 delete copy CTOR
 
 named_graph_object (named_graph_object &&)=delete
 delete move CTOR
 
named_graph_objectoperator= (const named_graph_object &)=delete
 delete copy operator
 
named_graph_objectoperator= (named_graph_object &&)=delete
 delete move operator
 
void LogNamedMessage (const char *strMessage)
 
 named_graph_object (const named_graph_object &)=delete
 delete copy CTOR
 
 named_graph_object (named_graph_object &&)=delete
 delete move CTOR
 
named_graph_objectoperator= (const named_graph_object &)=delete
 delete copy operator
 
named_graph_objectoperator= (named_graph_object &&)=delete
 delete move operator
 
void LogNamedMessage (const char *strMessage)
 
 named_graph_object (const named_graph_object &)=delete
 delete copy CTOR
 
 named_graph_object (named_graph_object &&)=delete
 delete move CTOR
 
named_graph_objectoperator= (const named_graph_object &)=delete
 delete copy operator
 
named_graph_objectoperator= (named_graph_object &&)=delete
 delete move operator
 
void LogNamedMessage (const char *strMessage)
 
- Protected Member Functions inherited from adtf::ucom::ant::IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Detailed Description

template<typename INTERFACE, bool INTERFACE_CHECK = true>
class adtf::streaming::ant::binding_proxy< INTERFACE, INTERFACE_CHECK >

This default class implementation will halp to define a Default InterfaceBindingProxy.

Template Parameters
INTERFACEobject interface this proxy is responsible for.
INTERFACE_CHECKif true the BindServerObject call will immediatelly check if the given ServerObject is valid type of INTERFACE. if false this check must be done by the IBindingClient.

Constructor & Destructor Documentation

◆ binding_proxy() [1/2]

template<typename INTERFACE, bool INTERFACE_CHECK = true>
adtf::streaming::ant::binding_proxy< INTERFACE, INTERFACE_CHECK >::binding_proxy ( const char * strName)
inline

CTOR which initializes the name

Parameters
[in]strNamename of the proxy

◆ binding_proxy() [2/2]

template<typename INTERFACE, bool INTERFACE_CHECK = true>
adtf::streaming::ant::binding_proxy< INTERFACE, INTERFACE_CHECK >::binding_proxy ( const char * strName,
const adtf::ucom::iobject_ptr< const IBindingType > & pBindingType )
inline

CTOR which initializes the binding type

Parameters
[in]strNamename of the proxy
[in]pBindingTypebinding type of the proxy

Member Function Documentation

◆ SetBindingType()

template<typename INTERFACE, bool INTERFACE_CHECK = true>
tResult adtf::streaming::ant::binding_proxy< INTERFACE, INTERFACE_CHECK >::SetBindingType ( const adtf::ucom::iobject_ptr< const IBindingType > & pBindingType)
inline

Sets the binding type of the proxy.

Parameters
[in]pBindingTypebinding type of the proxy to set
Returns
Standard Result Code

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