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

#include <BTTypes1.hpp>

Inheritance diagram for direct_bt::BTObject:
Collaboration diagram for direct_bt::BTObject:

Public Member Functions

 ~BTObject () noexcept override
 
void checkValidInstance () const override
 Throws an IllegalStateException if instance is not valid. More...
 
bool isValidInstance () const noexcept
 Returns whether the object's reference is valid and in a general operational state. More...
 
std::string toString () const noexcept override
 

Protected Member Functions

 BTObject () noexcept
 

Protected Attributes

std::atomic_bool instance_valid
 

Detailed Description

Definition at line 49 of file BTTypes1.hpp.

Constructor & Destructor Documentation

◆ BTObject()

direct_bt::BTObject::BTObject ( )
inlineprotectednoexcept

Definition at line 54 of file BTTypes1.hpp.

◆ ~BTObject()

direct_bt::BTObject::~BTObject ( )
inlineoverridenoexcept

Definition at line 59 of file BTTypes1.hpp.

Member Function Documentation

◆ toString()

std::string direct_bt::BTObject::toString ( ) const
inlineoverridevirtualnoexcept

Reimplemented from jau::jni::JavaUplink.

Definition at line 57 of file BTTypes1.hpp.

◆ isValidInstance()

bool direct_bt::BTObject::isValidInstance ( ) const
inlinenoexcept

Returns whether the object's reference is valid and in a general operational state.

Definition at line 66 of file BTTypes1.hpp.

Here is the caller graph for this function:

◆ checkValidInstance()

void direct_bt::BTObject::checkValidInstance ( ) const
inlineoverridevirtual

Throws an IllegalStateException if instance is not valid.

Default implementation does nothing.

Reimplemented from jau::jni::JavaUplink.

Definition at line 68 of file BTTypes1.hpp.

Member Data Documentation

◆ instance_valid

std::atomic_bool direct_bt::BTObject::instance_valid
protected

Definition at line 52 of file BTTypes1.hpp.


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