ADTF
|
Default Implementation of IBindingServer for a BindingObject that is able to connect to a IBindingProxy. More...
Public Types | |
typedef std::pair< adtf::ucom::IObject, IBindingObject > | iobject_resolve_type |
pricate d-pointer More... | |
typedef std::pair< INamedGraphObject, IBindingObject > | inamedgraphobject_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! | |
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.
typedef std::pair<adtf::ucom::IObject, IBindingObject> iobject_resolve_type |
|
protected |
CTOR with name initialization.
strName | [in] Name of the object |
|
explicit |
CTOR to create the BindingServer.
[in] | strName | Name of the BindingServer. |
[in] | pBindingType | BindingType of the BindingServer. |
[in] | pServerObject | ServerObject which implements the interface IBindingType::GetInterfaceID. |
tResult SetBindingType | ( | const iobject_ptr< const IBindingType > & | pBindingType | ) |
Sets the BindingType of the BindingServer .
[in] | pBindingType | BindingType of the BindingServer. |
tResult SetServerObject | ( | const iobject_ptr< IObject > & | pServerObject | ) |
Sets the ServerObject of the BindingServer .
[in] | pServerObject | ServerObject which implements the interface IBindingType::GetInterfaceID. |