|
ADTF
|
#include <connect_pins.h>
Public Member Functions | |
| cDisconnector (const adtf::ucom::ant::iobject_ptr< adtf::ucom::ant::IObject > &pObject, const char *strPinName) | |
| cDisconnector (const adtf::ucom::ant::iobject_ptr< adtf::streaming::ant::IPin > &pPin) | |
| cDisconnector (const adtf::ucom::ant::iobject_ptr< adtf::streaming::ant::IInPin > &pPin) | |
| cDisconnector (const adtf::ucom::ant::iobject_ptr< adtf::streaming::ant::IOutPin > &pPin) | |
| cDisconnector (cDisconnector &&)=default | |
| cDisconnector & | operator= (cDisconnector &&)=default |
| ~cDisconnector () | |
Utility class that can be used to disconnect a pin via RAII. This is useful in tests to ensure there are no dangling references to samples streams.
| adtf::streaming::testing::penguin::cDisconnector::cDisconnector | ( | const adtf::ucom::ant::iobject_ptr< adtf::ucom::ant::IObject > & | pObject, |
| const char * | strPinName ) |
This will retrieve the pin from the given object.
| [in] | pObject | The object that has the pin. |
| strPinName | The name of the pin. |
| adtf::streaming::testing::penguin::cDisconnector::cDisconnector | ( | const adtf::ucom::ant::iobject_ptr< adtf::streaming::ant::IPin > & | pPin | ) |
Overload for construction with a pin instance.
| [in] | pPin | The pin instance. |
| adtf::streaming::testing::penguin::cDisconnector::cDisconnector | ( | const adtf::ucom::ant::iobject_ptr< adtf::streaming::ant::IInPin > & | pPin | ) |
Overload for construction with a pin instance.
| [in] | pPin | The pin instance. |
| adtf::streaming::testing::penguin::cDisconnector::cDisconnector | ( | const adtf::ucom::ant::iobject_ptr< adtf::streaming::ant::IOutPin > & | pPin | ) |
Overload for construction with a pin instance.
| [in] | pPin | The pin instance. |
| adtf::streaming::testing::penguin::cDisconnector::~cDisconnector | ( | ) |
This will disconnect the pin.