ADTF
Loading...
Searching...
No Matches
pin_intf.h
Go to the documentation of this file.
1
7#pragma once
9
10namespace adtf
11{
12namespace streaming
13{
14namespace ant
15{
23 class IPin: public ITriggerPipeItem,
25 {
26 protected:
28 ~IPin() = default;
29
30 public:
32 ADTF_IID(IPin, "pin.ant.streaming.adtf.iid");
35
36 public:
48
53 virtual bool IsConnected() const = 0;
54
61 virtual tResult SetActive() = 0;
62
69 virtual tResult SetInactive() = 0;
70
83 virtual tResult Connect(const ucom::ant::iobject_ptr<ISampleStream>& pSampleStream) = 0;
90 virtual tResult Disconnect() = 0;
91
100 };
101} //namespace ant
102
103namespace flash
104{
105
107{
108 protected:
109 virtual ~IStreamerPin() = default;
110
111 public:
113 ADTF_IID(IStreamerPin, "streamer_pin.flash.streaming.adtf.iid");
114
115 public:
116 virtual tResult RegisterStreamer(ISampleStreamer& oStreamer) = 0;
117 virtual tResult UnregisterStreamer(ISampleStreamer& oStreamer) = 0;
118};
119
120}
121
123using ant::IPin;
124
125} //namespace streaming
126} //namespace adtf
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Interface for a NamedGraphObject which can be added to the FilterGraph.
Pin Interface for the IDataBinding.
Definition pin_intf.h:25
virtual tResult Disconnect()=0
Disonnects the Pin from a SampleStream.
virtual tResult GetSampleStream(ucom::ant::iobject_ptr< ISampleStream > &pSampleStream) const =0
Retrieves the connected SampleStream.
virtual bool IsConnected() const =0
Retrieves the state of the Pin is either connected to a SampleStream or not.
virtual tResult SetInactive()=0
Deactivates the pin.
virtual tResult GetType(ucom::ant::iobject_ptr< const IStreamType > &pStreamType) const =0
Retrieves the Type of the Pin if set.
UCOM_RESOLVE(adtf::ucom::ant::IObject, INamedGraphObject)
resolver
~IPin()=default
not destructable
virtual tResult SetActive()=0
Activates the pin.
ADTF_IID(IPin, "pin.ant.streaming.adtf.iid")
defintion of interface id
virtual tResult Connect(const ucom::ant::iobject_ptr< ISampleStream > &pSampleStream)=0
Connects the Pin to the SampleStream.
Interface for objects which can participate a ITriggerPipe.
Base interface for sample readers and writers.
ADTF_IID(IStreamerPin, "streamer_pin.flash.streaming.adtf.iid")
defintion of interface id
Base class for every interface type within the uCOM.
Definition object_intf.h:33
Base object pointer to realize binary compatible reference counting in interface methods.
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Namespace for all functionality of the ADTF Streaming SDK provided since v3.5.
Namespace for the ADTF Streaming SDK.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.