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

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

#include <HCITypes.hpp>

Collaboration diagram for direct_bt::HCIStructCmdCompleteEvtWrap< hcistruct >:

Public Member Functions

 HCIStructCmdCompleteEvtWrap (HCIEvent &orig_)
 
HCIStatusCode getStatus () const noexcept
 
const hcistruct * getStruct () const noexcept
 
hcistruct * getWStruct () noexcept
 
bool isTypeAndSizeValid (const HCIEventType ec) const noexcept
 
std::string toString () const noexcept
 

Detailed Description

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

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

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

Definition at line 1186 of file HCITypes.hpp.

Constructor & Destructor Documentation

◆ HCIStructCmdCompleteEvtWrap()

template<typename hcistruct >
direct_bt::HCIStructCmdCompleteEvtWrap< hcistruct >::HCIStructCmdCompleteEvtWrap ( HCIEvent orig_)
inline

Definition at line 1192 of file HCITypes.hpp.

Member Function Documentation

◆ toString()

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

Definition at line 1195 of file HCITypes.hpp.

◆ isTypeAndSizeValid()

template<typename hcistruct >
bool direct_bt::HCIStructCmdCompleteEvtWrap< hcistruct >::isTypeAndSizeValid ( const HCIEventType  ec) const
inlinenoexcept

Definition at line 1197 of file HCITypes.hpp.

◆ getStruct()

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

Definition at line 1201 of file HCITypes.hpp.

Here is the caller graph for this function:

◆ getStatus()

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

Definition at line 1202 of file HCITypes.hpp.

◆ getWStruct()

template<typename hcistruct >
hcistruct * direct_bt::HCIStructCmdCompleteEvtWrap< hcistruct >::getWStruct ( )
inlinenoexcept

Definition at line 1204 of file HCITypes.hpp.


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