ADTF
adtf::streaming::catwo Namespace Reference

Namespace for all functionality of the ADTF Streaming SDK provided since v3.2. More...

Classes

class  cBindingProxyInPort
 The Default implementation of the IBindingProxy interface. More...
 
class  cSampleStreamingSink
 Basic implementation for a Streaming Sink. More...
 
class  cSampleStreamingSource
 Basic implementation for a Streaming Source. More...
 

Functions

template<typename INTERFACE >
tResult create_server (cSampleStreamingSink &oStreamingSink, const char *strServerName, const adtf::ucom::iobject_ptr< INTERFACE > &pServerInterface)
 Creates a binding server object for the given INTERFACE type and register it on the cSampleStreamingSink instance. More...
 
template<typename INTERFACE >
tResult create_client (cSampleStreamingSink &oStreamingSink, const char *strClientName)
 Creates a binding client object for the given INTERFACE type and register it on the cSampleStreamingSink instance. More...
 
template<typename INTERFACE >
tResult create_server (cSampleStreamingSource &oStreamingSource, const char *strServerName, const adtf::ucom::iobject_ptr< INTERFACE > &pServerInterface)
 Creates a binding server object for the given INTERFACE type and register it on the cSampleStreamingSource instance. More...
 
template<typename INTERFACE >
tResult create_client (cSampleStreamingSource &oStreamingSource, const char *strClientName)
 Creates a binding client object for the given INTERFACE type and register it on the cSampleStreamingSource instance. More...
 

Detailed Description

Namespace for all functionality of the ADTF Streaming SDK provided since v3.2.

Function Documentation

◆ create_client() [1/2]

tResult adtf::streaming::catwo::create_client ( cSampleStreamingSink oStreamingSink,
const char *  strClientName 
)

Creates a binding client object for the given INTERFACE type and register it on the cSampleStreamingSink instance.

Template Parameters
INTERFACEThe IObject interface you want to register the binding client object for
Parameters
[in]oStreamingSinkstreamingsink instance to register the client object to
[in]strClientNamename of the object to register
Returns
Standard Result Code

Definition at line 148 of file streaming_sink.h.

References adtf::ucom::ant::make_object_ptr(), RETURN_IF_FAILED, and RETURN_NOERROR.

◆ create_client() [2/2]

tResult adtf::streaming::catwo::create_client ( cSampleStreamingSource oStreamingSource,
const char *  strClientName 
)

Creates a binding client object for the given INTERFACE type and register it on the cSampleStreamingSource instance.

Template Parameters
INTERFACEThe IObject interface you want to register the binding client object for
Parameters
[in]oStreamingSourcestreamingsource instance to register the client object to
[in]strClientNamename of the object to register
Returns
Standard Result Code

Definition at line 268 of file streaming_source.h.

References adtf::ucom::ant::make_object_ptr(), RETURN_IF_FAILED, and RETURN_NOERROR.

◆ create_server() [1/2]

tResult adtf::streaming::catwo::create_server ( cSampleStreamingSink oStreamingSink,
const char *  strServerName,
const adtf::ucom::iobject_ptr< INTERFACE > &  pServerInterface 
)

Creates a binding server object for the given INTERFACE type and register it on the cSampleStreamingSink instance.

Template Parameters
INTERFACEThe IObject interface you want to register the binding server object for. Used to create a IBindingType.
Parameters
[in]oStreamingSinkstreamingsink instance to register the server object to
[in]strServerNamename of the object to register
[in]pServerInterfaceINTERFACE implementation instance. This will be the Server Object retrieved by IBindingClient::GetServerObject and IBindingProxy::GetServerObject
Returns
Standard Result Code

Definition at line 128 of file streaming_sink.h.

References adtf::ucom::ant::make_object_ptr(), RETURN_IF_FAILED, and RETURN_NOERROR.

◆ create_server() [2/2]

tResult adtf::streaming::catwo::create_server ( cSampleStreamingSource oStreamingSource,
const char *  strServerName,
const adtf::ucom::iobject_ptr< INTERFACE > &  pServerInterface 
)

Creates a binding server object for the given INTERFACE type and register it on the cSampleStreamingSource instance.

Template Parameters
INTERFACEThe IObject interface you want to register the binding server object for. Used to create a IBindingType.
Parameters
[in]oStreamingSourcestreamingsource instance to register the server object to
[in]strServerNamename of the object to register
[in]pServerInterfaceINTERFACE implementation instance. This will be the Server Object retrieved by IBindingClient::GetServerObject and IBindingProxy::GetServerObject
Returns
Standard Result Code

Definition at line 248 of file streaming_source.h.

References adtf::ucom::ant::make_object_ptr(), RETURN_IF_FAILED, and RETURN_NOERROR.