ADTF
Loading...
Searching...
No Matches
adtf::streaming::ant::cDataBinding Class Reference

#include <data_binding.h>

Inherited by adtf::filter::cGraphObject, and adtf::streaming::ant::data_binding< Interface >.

Public Member Functions

tResult GetPins (ucom::ant::iobject_list< IPin > &lstPins) const
 private d-pointer
 
tResult FindPin (const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pPin) const
 
virtual tResult RegisterPin (const ucom::ant::iobject_ptr< IPin > &pIPin)
 
tResult RegisterPin (const ucom::ant::iobject_ptr< IInPin > &pIInPin)
 
tResult RegisterPin (const ucom::ant::iobject_ptr< IOutPin > &pIOutPin)
 
virtual tResult UnregisterPin (const ucom::ant::iobject_ptr< IPin > &pIPin)
 
tResult ReleasePins ()
 
virtual tResult ActivatePins ()
 
virtual tResult DeactivatePins ()
 
tResult Disconnect ()
 

Protected Member Functions

 cDataBinding ()
 CTOR.
 
virtual ~cDataBinding ()
 DTOR.
 

Detailed Description

The cFilter class implements a basic filter that supports the IFilter and IPinEventSink interfaces. The cFilter is implemented as a state machine. Which handles the IFilter::SetState call.

Member Function Documentation

◆ ActivatePins()

virtual tResult adtf::streaming::ant::cDataBinding::ActivatePins ( )
virtual

Activate all pins.

Reimplemented in adtf::filter::cGraphObject.

◆ DeactivatePins()

virtual tResult adtf::streaming::ant::cDataBinding::DeactivatePins ( )
virtual

Deactivate all pins.

◆ Disconnect()

tResult adtf::streaming::ant::cDataBinding::Disconnect ( )

Disconnect all pins.

◆ FindPin()

tResult adtf::streaming::ant::cDataBinding::FindPin ( const char * strName,
ucom::ant::iobject_ptr< ucom::ant::IObject > & pPin ) const

Find a Pin with the name of strName (only const access)

Parameters
strName[in] Pointer to a string that identifies the pin that searches for. Call the IPin::GetName method to retrieve a pin's identifier.
pPin[out] contains the pin if found.
Returns
Returns a standard result code.
Return values
ERR_NOT_FOUNDPin with the given name strName not found.

◆ GetPins()

tResult adtf::streaming::ant::cDataBinding::GetPins ( ucom::ant::iobject_list< IPin > & lstPins) const

private d-pointer

Returns the current Pins (only const access).

Parameters
[out]lstPinsobject_list where to push the pins to.
Returns
Returns a standard result code.

◆ RegisterPin() [1/3]

tResult adtf::streaming::ant::cDataBinding::RegisterPin ( const ucom::ant::iobject_ptr< IInPin > & pIInPin)

Registers a InPin in a pin list.

Parameters
pIInPin[in] Pin to register.
Returns
Standard result code.

◆ RegisterPin() [2/3]

tResult adtf::streaming::ant::cDataBinding::RegisterPin ( const ucom::ant::iobject_ptr< IOutPin > & pIOutPin)

Registers a InPin in a pin list.

Parameters
pIOutPin[in] Pin to register.
Returns
Standard result code.

◆ RegisterPin() [3/3]

virtual tResult adtf::streaming::ant::cDataBinding::RegisterPin ( const ucom::ant::iobject_ptr< IPin > & pIPin)
virtual

Registers a Pin in a pin list.

Parameters
pIPin[in] Pin to register.
Returns
Standard result code.

◆ ReleasePins()

tResult adtf::streaming::ant::cDataBinding::ReleasePins ( )

Unregisters all Pins from the pin list.

Returns
Standard result code.

◆ UnregisterPin()

virtual tResult adtf::streaming::ant::cDataBinding::UnregisterPin ( const ucom::ant::iobject_ptr< IPin > & pIPin)
virtual

Unregisters a Pin from the pin list.

Parameters
pIPin[in] Pin to unregister.
Returns
Standard result code.

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