49 base::ant::configuration<>,
53 data_binding<named_graph_object<ISampleStreamingSink>>>
72 tResult SetState(tStreamingState eState)
override;
75 tResult RequestPin(
const char* strName,
78 tResult RequestPin(
const char* strName,
106 using cInterfaceBinding::RegisterBindingObject;
113 return cInterfaceBinding::RegisterBindingObject(pBindingObject);
127 template<
typename INTERFACE>
129 const char* strServerName,
135 ucom_object_ptr_cast<IObject>(pServerInterface));
147 template<
typename INTERFACE>
160 using catwo::cSampleStreamingSink;
#define RETURN_IF_FAILED(s)
Return if expression is failed, which requires the calling function's return type to be tResult.
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
#define RETURN_IF_POINTER_NULL(_ptr)
Return ERR_POINTER if _ptr is nullptr, which requires the calling function's return type to be tResul...
A common result class usable as return value throughout.
Interface for a NamedGraphObject which can be added to the FilterGraph.
tStreamingState
States of the Streaming Services.
Binding type generation template to initialize a BindingType with the information of the INTERFACE ty...
virtual tResult RegisterPin(const ucom::ant::iobject_ptr< IPin > &pIPin)
Registers a Pin in a pin list.
Default implementation for the IRuntimeBehaviour.
virtual tResult RegisterRunner(const ucom::ant::iobject_ptr< IRunner > &pRunner)
Registers and publishes a IRunner object to the IRuntimeBehaviour.
virtual tResult RegisterInnerPipe(const ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe)
Registers and publishes an inner ITriggerPipe object to the IRuntimeBehaviour.
Basic implementation for a Streaming Sink.
tResult StopStreaming() override
StopStreaming transission while changing from tStreamingState::State_Streaming to tStreamState::State...
virtual tResult RegisterPin(const ucom::ant::iobject_ptr< IPin > &pIPin)
Registers a Pin in a pin list.
tResult StartStreaming() override
StatrStreaming transission while changing from tStreamState::State_Initialized to tStreamingState::St...
cSampleStreamingSink()
CTOR.
A_UTILS_D(cSampleStreamingSink)
private d_ptr impl.
tResult Destruct() override
Destruct transission while changing from tStreamingState::State_Constructed to tStreamState::State_Sh...
cSampleStreamingSink(const char *strName)
CTOR with name.
virtual ~cSampleStreamingSink()
DTOR.
The Streaming Service Level Machine implementation.
Basic implementation for a Streaming Sink.
virtual T * Get() const =0
Get raw pointer to shared object.
Base object pointer to realize binary compatible reference counting in interface methods.
Object pointer implementation used for reference counting on objects of type IObject.
Use this template if you want to implement an ucom::ant::IObject based Interface and/or subclass an e...
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
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 cSampleStreamingS...
tResult create_client(cSampleStreamingSink &oStreamingSink, const char *strClientName)
Creates a binding client object for the given INTERFACE type and register it on the cSampleStreamingS...
std::enable_if< !std::is_base_of< enable_object_ptr_from_this< typename std::remove_cv< Implementation >::type >, typename std::remove_cv< Implementation >::type >::value, object_ptr< Implementation > >::type make_object_ptr(Args &&... args)
Create an instance of type object_ptr with Implementation as the shared resource.
Namespace for the ADTF uCOM3 SDK.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.