Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Public Member Functions | Static Public Member Functions | List of all members
BaseDBTClientServer Class Reference

#include <dbt_base_client_server.hpp>

Collaboration diagram for BaseDBTClientServer:

Public Member Functions

 ~BaseDBTClientServer () noexcept
 Ensure. More...
 
void cleanupTest ()
 Ensure. More...
 
void closeBTManager ()
 
jau::fraction_i64 get_timeout_value () const
 
bool is_timedout () const noexcept
 
void setupTest (const jau::fraction_i64 timeout=0_s)
 Ensure. More...
 

Static Public Member Functions

static BaseDBTClientServerget (const bool btmanager_hold_and_close=true)
 

Detailed Description

Definition at line 38 of file dbt_base_client_server.hpp.

Constructor & Destructor Documentation

◆ ~BaseDBTClientServer()

BaseDBTClientServer::~BaseDBTClientServer ( )
inlinenoexcept

Ensure.

  • all adapter are powered off
  • manager being shutdown

Definition at line 94 of file dbt_base_client_server.hpp.

Member Function Documentation

◆ get()

static BaseDBTClientServer & BaseDBTClientServer::get ( const bool  btmanager_hold_and_close = true)
inlinestatic

Definition at line 79 of file dbt_base_client_server.hpp.

Here is the caller graph for this function:

◆ get_timeout_value()

jau::fraction_i64 BaseDBTClientServer::get_timeout_value ( ) const
inline

Definition at line 85 of file dbt_base_client_server.hpp.

Here is the caller graph for this function:

◆ is_timedout()

bool BaseDBTClientServer::is_timedout ( ) const
inlinenoexcept

Definition at line 87 of file dbt_base_client_server.hpp.

Here is the caller graph for this function:

◆ setupTest()

void BaseDBTClientServer::setupTest ( const jau::fraction_i64  timeout = 0_s)
inline

Ensure.

  • all adapter are powered off

Definition at line 117 of file dbt_base_client_server.hpp.

Here is the caller graph for this function:

◆ cleanupTest()

void BaseDBTClientServer::cleanupTest ( )
inline

Ensure.

  • remove all status listener from all adapter
  • all adapter are powered off
  • clear BTDeviceRegistry
  • clear BTSecurityRegistry

Definition at line 133 of file dbt_base_client_server.hpp.

Here is the caller graph for this function:

◆ closeBTManager()

void BaseDBTClientServer::closeBTManager ( )
inline

Definition at line 139 of file dbt_base_client_server.hpp.

Here is the caller graph for this function:

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