ADTF
|
The cOutPin class implements basic functionality specified by the IOutPin interface. More...
Public Member Functions | |
cOutPin () | |
private dPointer More... | |
cOutPin (const char *strName) | |
CTOR with name. More... | |
virtual | ~cOutPin () |
DTOR. | |
tResult | GetType (ucom::ant::iobject_ptr< const IStreamType > &pStreamType) const override |
bool | IsConnected () const override |
tResult | SetActive () override |
tResult | SetInactive () override |
tResult | Disconnect () |
tResult | GetSampleStream (ucom::ant::iobject_ptr< ISampleStream > &pSampleStream) const override |
tResult | Connect (const ucom::ant::iobject_ptr< ISampleStream > &pSampleStream) override |
tResult | RegisterStreamer (ISampleWriter &pStreamWriter) |
Registers a Streamer to the Pin. More... | |
tResult | UnregisterStreamer (ISampleStreamer &pStreamWriter) |
Unregisters a registered Streamer from the Pin. More... | |
Public Member Functions inherited from object< IPin, named_graph_object< trigger_pipe_item< IOutPin > > > | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. More... | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. More... | |
void | Destroy () const override |
Destruct and deallocate instantiations of type IObject . More... | |
Public Member Functions inherited from IObject | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
cOutPin | ( | ) |
private dPointer
CTOR
cOutPin | ( | const char * | strName | ) |
CTOR with name.
[in] | strName | Name of the pin |
tResult RegisterStreamer | ( | ISampleWriter & | pStreamWriter | ) |
Registers a Streamer to the Pin.
Every registered ISampleStreamer will retrieve a ISampleStreamer::BeginStreaming call, while the Pin is connected via connect call. If pin is already connected a ISampleStreamer::BeginStreaming is immediatelly made.
[in] | pStreamWriter | The Streamer to register. |
tResult UnregisterStreamer | ( | ISampleStreamer & | pStreamWriter | ) |
Unregisters a registered Streamer from the Pin.
Every registered ISampleStreamer will retrieve a ISampleStreamer::BeginStreaming call, while the Pin is connected via Connect call. While unregistering from a connected pin a ISampleStreamer::EndStreaming call is made.
[in] | pStreamWriter | The Streamer to unregister. |
ERR_NOT_FOUND | The Streamer is not registered. |