Kanzi Connect 3.9.10
kanzi::connect::InterfaceDomain Class Referenceabstract

A class that provides client-side access to all interfaces that are currently available in the system. More...

#include <interface_domain.hpp>

Inheritance diagram for kanzi::connect::InterfaceDomain:
kanzi::connect::InterfaceDomainBase kanzi::connect::Client

Public Member Functions

virtual AbstractInterfaceClientgetInterfaceById (const string &id)=0
 Returns interface by it's identifier.
 
virtual AbstractInterfaceClientgetInterfaceByIndex (size_t index)=0
 Returns interface in given index.
 
virtual size_t getInterfaceCount () const =0
 Returns number of interfaces in the system.
 
virtual ~InterfaceDomain () override=default
 Destructor.
 
- Public Member Functions inherited from kanzi::connect::InterfaceDomainBase
const string & getResourceDirectory () const
 Retrieves the content & resource directory of the system.
 
UriTranslatorgetUriTranslator ()
 Returns translator for Uris.
 
void setResourceDirectory (const string &path)
 Sets resource directory of the system.
 
virtual ~InterfaceDomainBase ()=default
 Destructor.
 

Detailed Description

A class that provides client-side access to all interfaces that are currently available in the system.

Constructor & Destructor Documentation

◆ ~InterfaceDomain()

virtual kanzi::connect::InterfaceDomain::~InterfaceDomain ( )
overridevirtualdefault

Destructor.

Member Function Documentation

◆ getInterfaceById()

virtual AbstractInterfaceClient * kanzi::connect::InterfaceDomain::getInterfaceById ( const string & id)
pure virtual

Returns interface by it's identifier.

Parameters
idIdentifier of the interface.
Returns
Interface that has the given identifier.

Implemented in kanzi::connect::Client.

◆ getInterfaceByIndex()

virtual AbstractInterfaceClient * kanzi::connect::InterfaceDomain::getInterfaceByIndex ( size_t index)
pure virtual

Returns interface in given index.

Parameters
indexIndex of the interface.
Returns
Interface in the given index.

Implemented in kanzi::connect::Client.

◆ getInterfaceCount()

virtual size_t kanzi::connect::InterfaceDomain::getInterfaceCount ( ) const
pure virtual

Returns number of interfaces in the system.

Returns
Number of interfaces.

Implemented in kanzi::connect::Client.


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