ADTF  3.18.2
INamedGraphObjectabstract

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

Inheritance diagram for INamedGraphObject:
[legend]

Public Member Functions

 ADTF_IID (INamedGraphObject, "namedgraphobject.ant.streaming.adtf.iid")
 defintion of interface id
 
virtual tResult GetName (base::ant::IString &&strName) const =0
 Gets the Name of the object to the IString rvalue reference strName. More...
 
virtual tResult SetName (const char *strName)=0
 Sets the Name of the object. More...
 
virtual tResult SetParent (const ucom::ant::IObject *oParentObject)=0
 Sets the Parent of the object. More...
 
virtual tResult GetParent (const ucom::ant::IObject *&poParentObject) const =0
 Retrieves the Parent of the object. 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...
 

Protected Member Functions

 ~INamedGraphObject ()=default
 not destructable
 
- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Use implemented Destroy() instead of delete!
 

Detailed Description

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

Definition at line 24 of file named_graph_object_intf.h.

Member Function Documentation

◆ GetName()

virtual tResult 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 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 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 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