ADTF
Loading...
Searching...
No Matches
adtf::streaming::INamedGraphObject Class Referenceabstract

bring latest ant::INamedGraphObject to users scope More...

#include <named_graph_object_intf.h>

Inherits adtf::ucom::ant::IObject.

Inherited by adtf::streaming::ant::IActiveRunner, adtf::streaming::ant::IBindingObject, adtf::streaming::ant::IBindingProxy, adtf::streaming::ant::IFilter, adtf::streaming::ant::IGraphConnection, adtf::streaming::ant::IPin, adtf::streaming::ant::IRunner, adtf::streaming::ant::ISampleStream, adtf::streaming::ant::IStreamingGraph, and adtf::streaming::ant::IStreamingService.

Public Member Functions

 ADTF_IID (INamedGraphObject, "namedgraphobject.ant.streaming.adtf.iid")
 defintion of interface id
 
virtual tResult GetName (base::ant::IString &&strName) const=0
 
virtual tResult SetName (const char *strName)=0
 
virtual tResult SetParent (const ucom::ant::IObject *oParentObject)=0
 
virtual tResult GetParent (const ucom::ant::IObject *&poParentObject) const=0
 
- Public Member Functions inherited from adtf::ucom::ant::IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 

Protected Member Functions

 ~INamedGraphObject ()=default
 not destructable
 
- Protected Member Functions inherited from adtf::ucom::ant::IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Detailed Description

bring latest ant::INamedGraphObject to users scope

Interface for a NamedGraphObject which can be added to the FilterGraph.

This interface helps to retrieve a full qualified name with get_named_graph_object_fullname.

See also
IFilterGraph::AddNamedGraphObject, get_named_graph_object_fullname

Member Function Documentation

◆ GetName()

virtual tResult adtf::streaming::ant::INamedGraphObject::GetName ( base::ant::IString && strName) const
pure virtual

Gets the Name of the object to the IString rvalue reference strName.

Parameters
[in]strNameString reference to return the name to
Returns
Result of adtf::base::IString::Set

◆ GetParent()

virtual tResult adtf::streaming::ant::INamedGraphObject::GetParent ( const ucom::ant::IObject *& poParentObject) const
pure virtual

Retrieves the Parent of the object. Only ONE parent is possible !

Parameters
[in,out]poParentObjectParent Object reference where to retrieve to.
Warning
Make sure the parent lives longer than the child. Otherwise GetParent access could fail.
Returns
Standard Result Code
Return values
ERR_POINTERNo parent set.

◆ SetName()

virtual tResult adtf::streaming::ant::INamedGraphObject::SetName ( const char * strName)
pure virtual

Sets the Name of the object.

Parameters
[in]strNameName of the object to set.
Returns
Standard Result Code

◆ SetParent()

virtual tResult adtf::streaming::ant::INamedGraphObject::SetParent ( const ucom::ant::IObject * oParentObject)
pure virtual

Sets the Parent of the object. Only ONE parent is possible !

Parameters
[in]oParentObjectParent Object reference to set.
Warning
Make sure the parent lives longer than the child. Otherwise GetParent access could fail.
Returns
Standard Result Code

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