HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
HF::Interfaces::InterfaceRole< Itf, _role > Struct Template Reference

Helper class template for implementing a given interface role. More...

#include <interface.h>

Inherits Itf.

+ Collaboration diagram for HF::Interfaces::InterfaceRole< Itf, _role >:

Public Member Functions

HF::Interface::Role role () const
 Return the Interface::Role this interface implements. More...
 

Detailed Description

template<typename Itf, HF::Interface::Role _role>
struct HF::Interfaces::InterfaceRole< Itf, _role >

Helper class template for implementing a given interface role.

Template Parameters
Itfparent interface class.
_roleinterface role implemented.

Definition at line 394 of file interface.h.

Member Function Documentation

◆ role()

template<typename Itf, HF::Interface::Role _role>
HF::Interface::Role HF::Interfaces::InterfaceRole< Itf, _role >::role ( ) const
inline

Return the Interface::Role this interface implements.

Returns
the Interface::Role implemented by the interface.

Definition at line 397 of file interface.h.

398  {
399  return _role;
400  }

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