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

Constructor & Destructor Documentation

◆ HCIStructCmdCompleteEvtWrap()

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

Definition at line 879 of file HCITypes.hpp.

Member Function Documentation

◆ getStatus()

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

Definition at line 889 of file HCITypes.hpp.

Here is the call graph for this function:

◆ getStruct()

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

Definition at line 888 of file HCITypes.hpp.

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

◆ getWStruct()

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

Definition at line 891 of file HCITypes.hpp.

Here is the call graph for this function:

◆ isTypeAndSizeValid()

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

Definition at line 884 of file HCITypes.hpp.

Here is the call graph for this function:

◆ toString()

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

Definition at line 882 of file HCITypes.hpp.

Here is the call graph for this function:

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