LeiaSR SDK 5a9e5e80 v1.34.7.24192 2025-10-22T20:48:31Z
Experimental
Public Member Functions | Protected Member Functions | List of all members
SR::IQueryInterface Class Referenceabstract

Interface for querying interfaces with a specific type. More...

#include <IWeaverBase.h>

Inheritance diagram for SR::IQueryInterface:
[legend]

Public Member Functions

template<typename T >
T * query ()
 Query the interface from the running Runtime. Returns nullptr when this interface is not available. More...
 

Protected Member Functions

virtual void * queryInterface (std::type_index type)=0
 

Detailed Description

Interface for querying interfaces with a specific type.

Member Function Documentation

◆ query()

template<typename T >
T * SR::IQueryInterface::query ( )
inline

Query the interface from the running Runtime. Returns nullptr when this interface is not available.

◆ queryInterface()

virtual void * SR::IQueryInterface::queryInterface ( std::type_index  type)
protectedpure virtual

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