ADTF
Loading...
Searching...
No Matches
adtf::streaming::IStreamingRequests Class Referenceabstract

#include <streamingrequests_intf.h>

Inherits adtf::ucom::ant::IObject.

Public Member Functions

 ADTF_IID (IStreamingRequests, "streaming_requests.hollow.streaming.adtf.iid")
 definition of interface id
 
virtual tResult RequestSamples (ucom::ant::iobject_ptr< IStreamingRequest > &pRequest, uint32_t nSubStreamId, const base::ant::IProperties *pRequestProperties=nullptr)=0
 
virtual void RegisterStreamTypeHandler (IStreamTypeHandler &oHandler)=0
 
virtual void UnregisterStreamTypeHandler (IStreamTypeHandler &oHandler)=0
 
- Public Member Functions inherited from adtf::ucom::ant::IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 

Protected Member Functions

 ~IStreamingRequests ()=default
 not destructable
 
- Protected Member Functions inherited from adtf::ucom::ant::IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Detailed Description

Interface for handling streaming requests.

Member Function Documentation

◆ RegisterStreamTypeHandler()

virtual void adtf::streaming::hollow::IStreamingRequests::RegisterStreamTypeHandler ( IStreamTypeHandler & oHandler)
pure virtual

Registers a new stream type handler.

This will call the IStreamTypeHandler::HandleNewStreamType() method with the current type once and for any later update.

Parameters
[in]oHandlerThe new handler.

◆ RequestSamples()

virtual tResult adtf::streaming::hollow::IStreamingRequests::RequestSamples ( ucom::ant::iobject_ptr< IStreamingRequest > & pRequest,
uint32_t nSubStreamId,
const base::ant::IProperties * pRequestProperties = nullptr )
pure virtual

RequestSamples of the given Substream to be generated and/or transmitted.

Parameters
[out]pRequestKeep this as long as you request samples to be transmitted.
[in]nSubStreamIdThe id of the Substream.
[in]pRequestPropertiesThe request properties. If nullptr, then defaults will be used.
Returns
Standard Result.

◆ UnregisterStreamTypeHandler()

virtual void adtf::streaming::hollow::IStreamingRequests::UnregisterStreamTypeHandler ( IStreamTypeHandler & oHandler)
pure virtual

Unregisters a stream type handler.

Parameters
[in]oHandlerThe new handler.

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