ADTF
Loading...
Searching...
No Matches
samplestream_intf.h
Go to the documentation of this file.
1
7#pragma once
8#include "triggerpipe_intf.h"
10#include "streamtype_intf.h"
12#include "sampleinstream_intf.h"
14
15namespace adtf
16{
17namespace streaming
18{
19namespace ant
20{
21
30 {
31 protected:
33 ~ISampleStream() = default;
34
35 public:
37 ADTF_IID(ISampleStream, "samplestream.ant.streaming.adtf.iid");
39
40 class IPushReadEventSink: public adtf::base::ant::IRunnable
41 {
42 protected:
43 IPushReadEventSink() = default;
44 public:
45 virtual void Reset() = 0;
46 };
47
48 public:
57
63 virtual tTimeStamp GetTime() const = 0;
64
72 virtual tResult SetStreamError(const tResult& oError) = 0;
73
84
94
115 virtual tResult Open(const char* strName,
117 const adtf::ucom::ant::iobject_ptr<const IStreamType>& pInitialAcceptedStreamType,
118 IPushReadEventSink*& pPushEventSink,
120 size_t szQueueSize) = 0;
138 virtual tResult Open(const char* strName,
141 size_t szQueueSize) = 0;
142 };
143
144
145} //namespace ant
146
147namespace vision
148{
155 {
156 protected:
160 virtual ~IBlockableSampleStream() = default;
161
162 public:
164 ADTF_IID(IBlockableSampleStream, "blockable_samplestream.vision.streaming.adtf.iid");
165
172 virtual void BlockSampleStreaming(bool bBlock) = 0;
178 virtual bool IsSampleStreamingBlocked() const = 0;
179 };
180}
184
185} // namespace streaming
186} // namespace adtf
#define UCOM_RESOLVE(...)
Resolve a path to a base class which is inherited multiple times.
Definition adtf_iid.h:46
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition named_graph_object_intf.h:25
tMode
Definition samplestreamaccess_intf.h:26
Definition samplestream_intf.h:30
virtual tResult Open(const char *strName, adtf::ucom::ant::iobject_ptr< ISampleInStream > &pInStream, const adtf::ucom::ant::iobject_ptr< const IStreamType > &pInitialAcceptedStreamType, IPushReadEventSink *&pPushEventSink, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize)=0
~ISampleStream()=default
not destructable
virtual tResult GetType(adtf::ucom::ant::iobject_ptr< const IStreamType > &pStreamType) const =0
virtual tResult DetachRouting(const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo)=0
virtual tResult SetStreamError(const tResult &oError)=0
virtual tResult AttachRouting(const adtf::ucom::ant::iobject_ptr< ISampleStream > &pSampleStreamTo)=0
ADTF_IID(ISampleStream, "samplestream.ant.streaming.adtf.iid")
definition of interface identifier
virtual tResult Open(const char *strName, adtf::ucom::ant::iobject_ptr< ISampleOutStream > &pOutStream, ISampleStreamAccess::tMode ui32Mode, size_t szQueueSize)=0
virtual tTimeStamp GetTime() const =0
Definition triggerpipe_intf.h:103
Definition samplestream_intf.h:155
ADTF_IID(IBlockableSampleStream, "blockable_samplestream.vision.streaming.adtf.iid")
definition of interface identifier
virtual void BlockSampleStreaming(bool bBlock)=0
Definition object_intf.h:33
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
Namespace for the ADTF Base SDK.
Definition adtf_base_type_traits.h:13
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition bindingproxyoutport.h:16
Namespace for all functionality of the ADTF Streaming SDK provided since v3.21.
Definition request_forwarding.h:17
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14