Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
Adsd3500InterruptNotifier Class Referencefinal

#include <adsd3500_interrupt_notifier.h>

Public Member Functions

 Adsd3500InterruptNotifier (Adsd3500InterruptNotifier &&) noexcept=default
 
 Adsd3500InterruptNotifier (const Adsd3500InterruptNotifier &)=delete
 
aditof::Status disableInterrupts ()
 
aditof::Status enableInterrupts ()
 
bool interruptsAvailable ()
 
Adsd3500InterruptNotifieroperator= (Adsd3500InterruptNotifier &&) noexcept=default
 
void operator= (const Adsd3500InterruptNotifier &)=delete
 
void subscribeSensor (std::weak_ptr< Adsd3500Sensor > sensor)
 
void unsubscribeSensor (std::weak_ptr< Adsd3500Sensor > sensor)
 
 ~Adsd3500InterruptNotifier ()=default
 

Static Public Member Functions

static Adsd3500InterruptNotifiergetInstance ()
 

Private Member Functions

 Adsd3500InterruptNotifier ()=default
 

Static Private Member Functions

static void signalEventHandler (int n, siginfo_t *info, void *unused)
 

Private Attributes

bool m_interruptsAvailable
 

Static Private Attributes

static std::vector< std::weak_ptr< Adsd3500Sensor > > m_sensors
 

Detailed Description

Definition at line 40 of file adsd3500_interrupt_notifier.h.

Constructor & Destructor Documentation

◆ Adsd3500InterruptNotifier() [1/3]

Adsd3500InterruptNotifier::Adsd3500InterruptNotifier ( )
privatedefault

◆ Adsd3500InterruptNotifier() [2/3]

Adsd3500InterruptNotifier::Adsd3500InterruptNotifier ( const Adsd3500InterruptNotifier )
delete

◆ ~Adsd3500InterruptNotifier()

Adsd3500InterruptNotifier::~Adsd3500InterruptNotifier ( )
default

◆ Adsd3500InterruptNotifier() [3/3]

Adsd3500InterruptNotifier::Adsd3500InterruptNotifier ( Adsd3500InterruptNotifier &&  )
defaultnoexcept

Member Function Documentation

◆ disableInterrupts()

aditof::Status Adsd3500InterruptNotifier::disableInterrupts ( )

Definition at line 73 of file adsd3500_interrupt_notifier.cpp.

◆ enableInterrupts()

aditof::Status Adsd3500InterruptNotifier::enableInterrupts ( )

Definition at line 43 of file adsd3500_interrupt_notifier.cpp.

◆ getInstance()

Adsd3500InterruptNotifier & Adsd3500InterruptNotifier::getInstance ( )
static

Definition at line 24 of file adsd3500_interrupt_notifier.cpp.

◆ interruptsAvailable()

bool Adsd3500InterruptNotifier::interruptsAvailable ( )

Definition at line 77 of file adsd3500_interrupt_notifier.cpp.

◆ operator=() [1/2]

Adsd3500InterruptNotifier& Adsd3500InterruptNotifier::operator= ( Adsd3500InterruptNotifier &&  )
defaultnoexcept

◆ operator=() [2/2]

void Adsd3500InterruptNotifier::operator= ( const Adsd3500InterruptNotifier )
delete

◆ signalEventHandler()

void Adsd3500InterruptNotifier::signalEventHandler ( int  n,
siginfo_t *  info,
void unused 
)
staticprivate

Definition at line 29 of file adsd3500_interrupt_notifier.cpp.

◆ subscribeSensor()

void Adsd3500InterruptNotifier::subscribeSensor ( std::weak_ptr< Adsd3500Sensor sensor)

Definition at line 81 of file adsd3500_interrupt_notifier.cpp.

◆ unsubscribeSensor()

void Adsd3500InterruptNotifier::unsubscribeSensor ( std::weak_ptr< Adsd3500Sensor sensor)

Definition at line 86 of file adsd3500_interrupt_notifier.cpp.

Member Data Documentation

◆ m_interruptsAvailable

bool Adsd3500InterruptNotifier::m_interruptsAvailable
private

Definition at line 65 of file adsd3500_interrupt_notifier.h.

◆ m_sensors

std::vector< std::weak_ptr< Adsd3500Sensor > > Adsd3500InterruptNotifier::m_sensors
staticprivate

Definition at line 64 of file adsd3500_interrupt_notifier.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:05