Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Static Public Member Functions | Public Attributes | Friends | List of all members
direct_bt::MgmtEnv Class Reference

Managment Singleton runtime environment properties. More...

#include <BTManager.hpp>

Inheritance diagram for direct_bt::MgmtEnv:
Collaboration diagram for direct_bt::MgmtEnv:

Static Public Member Functions

static MgmtEnvget () noexcept
 
- Static Public Member Functions inherited from jau::root_environment
static bool is_terminating () noexcept
 Returns true if program is terminating as detected via atexit() callback or set_terminating() has been called. More...
 
static void set_terminating () noexcept
 Optional path to signal early termination, i.e. More...
 

Public Attributes

const bool DEBUG_EVENT
 Debug all Mgmt event communication. More...
 
const bool DEBUG_GLOBAL
 Global Debug flag, retrieved first to triggers DBTEnv initialization. More...
 
const jau::fraction_i64 MGMT_COMMAND_REPLY_TIMEOUT
 Timeout for mgmt command replies, defaults to 3s. More...
 
const int32_t MGMT_EVT_RING_CAPACITY
 Small ringbuffer capacity for synchronized commands, defaults to 64 messages. More...
 
const jau::fraction_i64 MGMT_READER_THREAD_POLL_TIMEOUT
 Poll timeout for mgmt reader thread, defaults to 10s. More...
 
const jau::fraction_i64 MGMT_SET_POWER_COMMAND_TIMEOUT
 Timeout for mgmt SET_POWER command reply, defaults to max(MGMT_COMMAND_REPLY_TIMEOUT, 6s). More...
 

Friends

class BTManager
 

Detailed Description

Managment Singleton runtime environment properties.

Also see DBTEnv::getExplodingProperties(const std::string & prefixDomain).

Definition at line 67 of file BTManager.hpp.

Member Function Documentation

◆ get()

static MgmtEnv & direct_bt::MgmtEnv::get ( )
inlinestaticnoexcept

Definition at line 126 of file BTManager.hpp.

Friends And Related Function Documentation

◆ BTManager

friend class BTManager
friend

Definition at line 68 of file BTManager.hpp.

Member Data Documentation

◆ DEBUG_GLOBAL

const bool direct_bt::MgmtEnv::DEBUG_GLOBAL

Global Debug flag, retrieved first to triggers DBTEnv initialization.

Definition at line 75 of file BTManager.hpp.

◆ MGMT_READER_THREAD_POLL_TIMEOUT

const jau::fraction_i64 direct_bt::MgmtEnv::MGMT_READER_THREAD_POLL_TIMEOUT

Poll timeout for mgmt reader thread, defaults to 10s.

Environment variable is 'direct_bt.mgmt.reader.timeout'.

Definition at line 87 of file BTManager.hpp.

◆ MGMT_COMMAND_REPLY_TIMEOUT

const jau::fraction_i64 direct_bt::MgmtEnv::MGMT_COMMAND_REPLY_TIMEOUT

Timeout for mgmt command replies, defaults to 3s.

Environment variable is 'direct_bt.mgmt.cmd.timeout'.

Definition at line 95 of file BTManager.hpp.

◆ MGMT_SET_POWER_COMMAND_TIMEOUT

const jau::fraction_i64 direct_bt::MgmtEnv::MGMT_SET_POWER_COMMAND_TIMEOUT

Timeout for mgmt SET_POWER command reply, defaults to max(MGMT_COMMAND_REPLY_TIMEOUT, 6s).

Environment variable is 'direct_bt.mgmt.setpower.timeout'.

Definition at line 103 of file BTManager.hpp.

◆ MGMT_EVT_RING_CAPACITY

const int32_t direct_bt::MgmtEnv::MGMT_EVT_RING_CAPACITY

Small ringbuffer capacity for synchronized commands, defaults to 64 messages.

Environment variable is 'direct_bt.mgmt.ringsize'.

Definition at line 111 of file BTManager.hpp.

◆ DEBUG_EVENT

const bool direct_bt::MgmtEnv::DEBUG_EVENT

Debug all Mgmt event communication.

Environment variable is 'direct_bt.debug.mgmt.event'.

Definition at line 119 of file BTManager.hpp.


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