ADTF
Loading...
Searching...
No Matches
adtf::streaming::hollow::writer_with_request_broker< BaseWriter > Class Template Reference

#include <requestable_writer.h>

Inherits adtf::streaming::flash::cSampleWriter.

Public Member Functions

void SetBroker (const ucom::ant::iobject_ptr< IStreamingRequests > &pBroker)
 
tResult BeginStreaming (streaming::ant::ISampleStream &oSampleStream) override
 
tResult EndStreaming () override
 
- Public Member Functions inherited from adtf::streaming::flash::cSampleWriter
void SetName (const char *strName) override
 
tResult GetName (base::ant::IString &&strName) override
 
tResult SetType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) override
 
tResult GetType (ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) const override
 
tResult SetStreamerPin (const ucom::ant::iobject_ptr< IStreamerPin > &pStreamerPin) override
 
tResult GetStreamerPin (ucom::ant::iobject_ptr< IStreamerPin > &pStreamerPin) const
 
tResult Write (const ucom::ant::iobject_ptr< const ant::ISample > &pSample) override
 
virtual tResult Transmit (const ucom::ant::iobject_ptr< const ant::ISample > &pSample)
 
tResult ChangeType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pType) override
 
tResult Flush () override
 
tResult SetStreamError (tResult oError) override
 
tResult ManualTrigger (base::flash::tNanoSeconds tmActivationTime=base::flash::tNanoSeconds{-1}) override
 

Detailed Description

template<typename BaseWriter = adtf::streaming::cSampleWriter>
class adtf::streaming::hollow::writer_with_request_broker< BaseWriter >

Template that will register a request broker (an implementation of IStreamingRequests) at the connected Sample Stream.

Member Function Documentation

◆ BeginStreaming()

template<typename BaseWriter = adtf::streaming::cSampleWriter>
tResult adtf::streaming::hollow::writer_with_request_broker< BaseWriter >::BeginStreaming ( streaming::ant::ISampleStream & pStream)
inlineoverridevirtual

Begin streaming on the given sample stream.

Parameters
[in]pStreamthe sample stream.
Returns
Standard result.

Reimplemented from adtf::streaming::flash::cSampleWriter.

◆ EndStreaming()

template<typename BaseWriter = adtf::streaming::cSampleWriter>
tResult adtf::streaming::hollow::writer_with_request_broker< BaseWriter >::EndStreaming ( )
inlineoverridevirtual

End streaming

Returns
Standard result.

Reimplemented from adtf::streaming::flash::cSampleWriter.

◆ SetBroker()

template<typename BaseWriter = adtf::streaming::cSampleWriter>
void adtf::streaming::hollow::writer_with_request_broker< BaseWriter >::SetBroker ( const ucom::ant::iobject_ptr< IStreamingRequests > & pBroker)
inline

Use this to set the broker instance after the writer has been created.

Parameters
[in]pBrokerThe broker.

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