Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | List of all members
direct_bt::HCIStructCmdCompleteMetaEvtWrap< hcistruct > Class Template Reference

Generic HCIMetaEvent wrapper for any HCI IOCTL 'command complete' alike meta event struct having a HCIStatusCode uint8_t status field. More...

#include <HCITypes.hpp>

Collaboration diagram for direct_bt::HCIStructCmdCompleteMetaEvtWrap< hcistruct >:

Public Member Functions

 HCIStructCmdCompleteMetaEvtWrap (HCIMetaEvent &orig_)
 
HCIStatusCode getStatus () const noexcept
 
const hcistruct * getStruct () const noexcept
 
bool isTypeAndSizeValid (const HCIMetaEventType mc) const noexcept
 
std::string toString () const noexcept
 

Detailed Description

template<typename hcistruct>
class direct_bt::HCIStructCmdCompleteMetaEvtWrap< hcistruct >

Generic HCIMetaEvent wrapper for any HCI IOCTL 'command complete' alike meta event struct having a HCIStatusCode uint8_t status field.

Template Parameters
hcistructthe template typename, e.g. 'hci_ev_le_conn_complete' for 'struct hci_ev_le_conn_complete'

Definition at line 1470 of file HCITypes.hpp.

Constructor & Destructor Documentation

◆ HCIStructCmdCompleteMetaEvtWrap()

template<typename hcistruct >
direct_bt::HCIStructCmdCompleteMetaEvtWrap< hcistruct >::HCIStructCmdCompleteMetaEvtWrap ( HCIMetaEvent orig_)
inline

Definition at line 1476 of file HCITypes.hpp.

Member Function Documentation

◆ toString()

template<typename hcistruct >
std::string direct_bt::HCIStructCmdCompleteMetaEvtWrap< hcistruct >::toString ( ) const
inlinenoexcept

Definition at line 1479 of file HCITypes.hpp.

◆ isTypeAndSizeValid()

template<typename hcistruct >
bool direct_bt::HCIStructCmdCompleteMetaEvtWrap< hcistruct >::isTypeAndSizeValid ( const HCIMetaEventType  mc) const
inlinenoexcept

Definition at line 1481 of file HCITypes.hpp.

◆ getStruct()

template<typename hcistruct >
const hcistruct * direct_bt::HCIStructCmdCompleteMetaEvtWrap< hcistruct >::getStruct ( ) const
inlinenoexcept

Definition at line 1485 of file HCITypes.hpp.

Here is the caller graph for this function:

◆ getStatus()

template<typename hcistruct >
HCIStatusCode direct_bt::HCIStructCmdCompleteMetaEvtWrap< hcistruct >::getStatus ( ) const
inlinenoexcept

Definition at line 1486 of file HCITypes.hpp.


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