ADTF
|
Template that will register a request broker (an implementation of IStreamingRequests) at the connected Sample Stream. More...
Public Member Functions | |
void | SetBroker (const ucom::ant::iobject_ptr< IStreamingRequests > &pBroker) |
Use this to set the broker instance after the writer has been created. More... | |
tResult | BeginStreaming (streaming::ant::ISampleStream &oSampleStream) override |
Begin streaming on the given sample stream. More... | |
tResult | EndStreaming () override |
End streaming. More... | |
![]() | |
void | SetName (const char *strName) override |
Sets the name of the streamer. More... | |
tResult | GetName (base::ant::IString &&strName) override |
Retrieves the name of the streamer. More... | |
tResult | SetType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) override |
Sets the initial stream type of a streamer. More... | |
tResult | GetType (ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) const override |
Returns the initial stream type of the streamer. More... | |
tResult | BeginStreaming (ISampleStream &oSampleStream) override |
Begin streaming on the given sample stream. More... | |
tResult | EndStreaming () override |
End streaming. More... | |
tResult | SetStreamerPin (const ucom::ant::iobject_ptr< IStreamerPin > &pStreamerPin) override |
Sets the pin that the streamer is associated with. More... | |
tResult | Write (const ucom::ant::iobject_ptr< const ant::ISample > &pSample) override |
Writes a sample to the connected sample stream. More... | |
virtual tResult | Transmit (const ucom::ant::iobject_ptr< const ant::ISample > &pSample) |
For compatibility purposes, call Write() instead. More... | |
tResult | ChangeType (const ucom::ant::iobject_ptr< const ant::IStreamType > &pType) override |
Communicates a type change for all following samples. More... | |
tResult | Flush () override |
Flushes the writer. More... | |
tResult | SetStreamError (tResult oError) override |
Reports and handles an error via the sample stream. More... | |
tResult | ManualTrigger (base::flash::tNanoSeconds tmActivationTime=base::flash::tNanoSeconds {-1}) override |
Calls all connected runners synchronously in this call. More... | |
Private Attributes | |
ucom::ant::object_ptr< IStreamingRequests > | m_pBroker |
ucom::ant::object_ptr< ant::IBindingProxy > | m_pProxy |
Additional Inherited Members | |
![]() | |
std::unique_ptr< cImplementation > | m_pImplementation |
Template that will register a request broker (an implementation of IStreamingRequests) at the connected Sample Stream.
Definition at line 78 of file requestable_writer.h.
|
inlineoverridevirtual |
Begin streaming on the given sample stream.
[in] | pStream | the sample stream. |
Implements ISampleStreamer.
Definition at line 91 of file requestable_writer.h.
References RETURN_IF_FAILED, and RETURN_IF_POINTER_NULL_DESC.
|
inlineoverridevirtual |
End streaming.
Implements ISampleStreamer.
Definition at line 102 of file requestable_writer.h.
References RETURN_NOERROR.
Referenced by requestable_writer< BaseWriter >::EndStreaming().
|
inline |
Use this to set the broker instance after the writer has been created.
[in] | pBroker | The broker. |
Definition at line 86 of file requestable_writer.h.
Referenced by requestable_writer< BaseWriter >::requestable_writer().