Direct-BT  2.3.1
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_)
 
std::string toString () const noexcept
 
bool isTypeAndSizeValid (const HCIMetaEventType mc) const noexcept
 
const hcistruct * getStruct () const noexcept
 
HCIStatusCode getStatus () 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 1087 of file HCITypes.hpp.

Constructor & Destructor Documentation

◆ HCIStructCmdCompleteMetaEvtWrap()

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

Definition at line 1093 of file HCITypes.hpp.

Member Function Documentation

◆ getStatus()

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

Definition at line 1103 of file HCITypes.hpp.

Here is the call graph for this function:

◆ getStruct()

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

Definition at line 1102 of file HCITypes.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isTypeAndSizeValid()

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

Definition at line 1098 of file HCITypes.hpp.

Here is the call graph for this function:

◆ toString()

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

Definition at line 1096 of file HCITypes.hpp.

Here is the call graph for this function:

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