Kanzi Connect  3.9.8
Kanzi Connect C++ API
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. More...
 
virtual AbstractInterfaceClientgetInterfaceByIndex (size_t index)=0
 Returns interface in given index. More...
 
virtual size_t getInterfaceCount () const =0
 Returns number of interfaces in the system. More...
 
virtual ~InterfaceDomain () override=default
 Destructor. More...
 
- Public Member Functions inherited from kanzi::connect::InterfaceDomainBase
const string & getResourceDirectory () const
 Retrieves the content & resource directory of the system. More...
 
UriTranslatorgetUriTranslator ()
 Returns translator for Uris. More...
 
void setResourceDirectory (const string &path)
 Sets resource directory of the system. More...
 
virtual ~InterfaceDomainBase ()=default
 Destructor. More...
 

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: