202template<
typename INTERFACE = ISampleStream>
208 sample_stream(sample_stream&&) =
delete;
209 sample_stream(
const sample_stream&) =
delete;
210 sample_stream& operator=(sample_stream&&) =
delete;
211 sample_stream& operator=(
const sample_stream&) =
delete;
218 sample_stream(
const char* strName): sample_stream()
222 ~sample_stream() =
default;
224 tResult SetName(
const char* strName)
override
227 return m_oBase.SetFullName(strName);
236 tResult Open(
const char* strName,
241 size_t szQueueSize)
override
243 return m_oBase.Open(strName, pInStream, pInitialAcceptedStreamType, pPushEventSink, ui32Mode, szQueueSize,
247 tResult Open(
const char* strName,
250 size_t szQueueSize)
override
252 return m_oBase.Open(strName, pOutStream, ui32Mode, szQueueSize,
258 return m_oBase.GetType(pStreamType);
267 return m_oBase.GetTime();
272 return m_oBase.SetStreamError(oError);
277 return m_oBase.AttachRouting(pSampleStreamTo);
282 return m_oBase.DetachRouting(pSampleStreamTo);
322 sample_stream::SetName(strName);
334 public trigger_pipe_item<ant::INamedGraphObject, hollow::IInternalBindingProxy, ant::ISampleStream>
337 ADTF_CLASS_ID_NAME(cSampleStream,
"sample_stream.streaming.adtf.cid",
"Sample Stream");
341 cSampleStream(
const char* strName);
343 ~cSampleStream()
override;
348 tTimeStamp GetTime()
const override;
352 tResult Open(
const char* strName,
357 size_t szQueueSize)
override;
358 tResult Open(
const char* strName,
361 size_t szQueueSize)
override;
364 void SetSubStreamFilter(
const char* strSubStream);
365 void SetForwardAllTriggers(
bool bForwardAll);
368 tResult SetName(
const char* strName);
372 class cImplementation;
373 std::unique_ptr<cImplementation> m_pImplementation;
391 ADTF_CLASS_ID_NAME(cSampleStream,
"sample_stream.streaming.adtf.cid",
"Sample Stream");
395 cSampleStream(
const char* strName);
397 ~cSampleStream()
override;
399 void BlockSampleStreaming(
bool bBlock)
override;
400 bool IsSampleStreamingBlocked()
const override;
411 ADTF_CLASS_ID_NAME(cSampleStream,
"sample_stream.streaming.adtf.cid",
"Sample Stream");
415 cSampleStream(
const char* strName);
417 ~cSampleStream()
override;
420 tSampleStreamStatistic GetStatistics()
override;
421 void EnableSampleSizeStatistics(
bool bEnable)
override;
422 void ResetStatistics()
override;
428using wolverine::cSampleStream;
429using ant::sample_stream;
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
#define ADTF_CLASS_ID_NAME(_class, _strcid, _strclabel)
Definition class_id.h:33
Definition runnable_intf.h:27
adtf::services::wolverine::ISampleStreamTracer::tTraceData tSampleStreamStatistic
structure containing the current samplestream statistics for samplestream input and output
Definition samplestream_statistics_intf.h:34
tMode
Definition samplestreamaccess_intf.h:26
Definition samplestream_intf.h:41
virtual ~cSampleStream()=default
DTOR.
cSampleStream(const cSampleStream &)=delete
deleted copy CTOR
cSampleStream(cSampleStream &&)=delete
deleted move CTOR
adtf::ucom::ant::iobject_ptr< T > iobject_ptr
used type for iobject_ptr
Definition samplestream.h:304
cSampleStream & operator=(const cSampleStream &)=delete
deleted copy operator
ADTF_CLASS_ID_NAME(cSampleStream, "sample_stream.streaming.adtf.cid", "Sample Stream")
private d-pointer
cSampleStream(const char *strName)
CTOR initializes the name of the stream.
Definition samplestream.h:320
cSampleStream()=default
CTOR.
cSampleStream & operator=(cSampleStream &&)=delete
deleted move operator
Definition samplestream.h:40
tResult GetInternalBindingProxy(ucom::ant::iobject_ptr< ant::IBindingProxy > &pBindingProxy)
tResult GetType(adtf::ucom::ant::iobject_ptr< const IStreamType > &pStreamType) const
tResult Open(const char *strName, adtf::ucom::ant::iobject_ptr< ISampleInStream > &pInStream, const adtf::ucom::ant::iobject_ptr< const IStreamType > &pInitialAcceptedStreamType, ISampleStream::IPushReadEventSink *&pPushEventSink, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize, adtf::ucom::ant::IObject *pParent)
tResult Open(const char *strName, adtf::ucom::ant::iobject_ptr< ISampleOutStream > &pOutStream, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize, adtf::ucom::ant::IObject *pParent)
tResult RunTrigger(tTimeStamp tmActivationTime)
void EnableSampleSizeStatistics(bool bEnable)
tTimeStamp GetTime() const
void BlockSampleStreaming(bool bBlock)
tResult DetachRouting(const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo)
cSampleStreamBase & operator=(cSampleStreamBase &&)=delete
deleted move operator
tResult GetStreamError()
Getter for the last forwarded stream error.
bool IsSampleStreamingBlocked() const
tResult SetStreamError(const tResult &oError)
cSampleStreamBase & operator=(const cSampleStreamBase &)=delete
deleted copy operator
tResult SetFullName(const char *strName)
void LogOutputTrigger(tTimeStamp tmTrigger)
ISampleStreamStatistics::tSampleStreamStatistic GetStatistics()
cSampleStreamBase(const cSampleStreamBase &)=delete
deleted copy CTOR
void SetSubStreamFilter(const char *strSubStream)
virtual ~cSampleStreamBase() override
DTOR.
void LogInputTrigger(tTimeStamp tmTrigger)
tResult AttachRouting(const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo)
cSampleStreamBase(cSampleStreamBase &&)=delete
deleted move CTOR
tResult DetachRouting(const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override
Definition samplestream.h:280
tTimeStamp GetTime() const override
Definition samplestream.h:265
tResult AttachRouting(const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo) override
Definition samplestream.h:275
tResult SetStreamError(const tResult &oError) override
Definition samplestream.h:270
Definition samplestream.h:335
tResult SetName(const char *strName)
Definition triggerpipe.h:422
tResult SetParent(const ucom::ant::IObject *oParentObject)
Definition triggerpipe.h:427
void SetRunnable(adtf::base::ant::IRunnable &oRunnable)
Definition triggerpipe.h:286
trigger_pipe_item()=default
Definition object_intf.h:33
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
adtf::base::runnable< DEFAULT_ACTIVATION_TYPE, ANT_INTERFACE, flash::IRunnable, CALLABLE > runnable
Definition runnable.h:231
Namespace for all internally used functionality implemented.
Definition filtergraphport.h:28
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition bindingproxyoutport.h:16
adtf_util::cString get_named_graph_object_full_name(const INamedGraphObject &oGraphObject)
Namespace for all functionality of the ADTF Streaming SDK provided since v3.5.
Definition filterbase.h:255
Namespace for all functionality of the ADTF Streaming SDK provided since v3.16.
Definition filtergraphport.h:487
Namespace for all functionality of the ADTF Streaming SDK provided since v3.22.
Definition samplestream.h:406
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
InterfacePointerType ucom_cast(ObjectPointerType i_pObject) noexcept
Definition ucom_cast.h:157
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14