ADTF
|
This default class implementation will halp to define a Default InterfaceBindingProxy. More...
Public Member Functions | |
binding_proxy () | |
CTOR. | |
binding_proxy (const char *strName) | |
CTOR which initializes the name. More... | |
binding_proxy (const char *strName, const adtf::ucom::iobject_ptr< const IBindingType > &pBindingType) | |
CTOR which initializes the binding type. More... | |
virtual | ~binding_proxy () |
DTOR. | |
tResult | SetBindingType (const adtf::ucom::iobject_ptr< const IBindingType > &pBindingType) |
Sets the binding type of the proxy. More... | |
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 named_graph_object< IBindingProxy > | |
named_graph_object () | |
CTOR. | |
named_graph_object (const char *strName) | |
CTOR with name. More... | |
virtual | ~named_graph_object ()=default |
DTOR. | |
tResult | SetName (const char *strName) override |
Sets the Name of the object. More... | |
tResult | GetName (base::ant::IString &&strName) const override |
Gets the Name of the object. More... | |
tResult | SetParent (const ucom::ant::IObject *poParentObject) override |
Sets Parent of the object. More... | |
tResult | GetParent (const ucom::ant::IObject *&poParentObject) const override |
Gets the Parent of the object. More... | |
Public Member Functions inherited from object< Bases > | |
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 Attributes | |
adtf::ucom::object_ptr< INTERFACE > | m_pServerObject |
Server interface this proxy will provided. | |
adtf::ucom::object_ptr< IBindingType > | m_pBindingType |
Type of the Server interface this proxy will provided. | |
adtf::ucom::object_list< IBindingProxy > | m_lstBindingRoutes |
List of attached Routes. | |
Additional Inherited Members | |
Protected Member Functions inherited from 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_object & | operator= (const named_graph_object &)=delete |
delete copy operator | |
named_graph_object & | operator= (named_graph_object &&)=delete |
delete move operator | |
void | LogNamedMessage (const char *strMessage) |
Helper to log a message with the full name of the object. More... | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
This default class implementation will halp to define a Default InterfaceBindingProxy.
INTERFACE | object interface this proxy is responsible for. |
INTERFACE_CHECK | if 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. |
Definition at line 26 of file interface_binding_proxy.h.
|
inline |
CTOR which initializes the name.
[in] | strName | name of the proxy |
Definition at line 44 of file interface_binding_proxy.h.
References named_graph_object< INTERFACE >::SetName().
|
inline |
CTOR which initializes the binding type.
[in] | strName | name of the proxy |
[in] | pBindingType | binding type of the proxy |
Definition at line 52 of file interface_binding_proxy.h.
References iobject_ptr_base< T >::Get(), binding_proxy< INTERFACE, INTERFACE_CHECK >::m_pBindingType, and named_graph_object< INTERFACE >::SetName().
|
inline |
Sets the binding type of the proxy.
[in] | pBindingType | binding type of the proxy to set |
Definition at line 67 of file interface_binding_proxy.h.
References iobject_ptr_base< T >::Get(), binding_proxy< INTERFACE, INTERFACE_CHECK >::m_pBindingType, RETURN_IF_POINTER_NULL, and RETURN_NOERROR.