API Documentation
Loading...
Searching...
No Matches
DeviceManager Class Reference

Container for all active Devices connected to the software. More...

#include <DeviceManager.h>

Inheritance diagram for DeviceManager:
[legend]
Collaboration diagram for DeviceManager:
[legend]

Signals

void deviceRemovedSignal (const UUID &id)
 
void devicesAddedSignal (const Buffer< UUID > &ids)
 

Public Member Functions

void addDevice (Device *device)
 
Devicedevice (const UUID &id)
 
 DeviceManager ()
 
bool hasDevice (const UUID &id) const
 
void removeDevice (const UUID &id)
 
void update ()
 

Static Public Member Functions

static DeviceManagerDefaultManager ()
 

Protected Attributes

Buffer< UUIDm_added_objects
 
Dictionary< UUID, Device * > m_device_lookup
 

Detailed Description

Container for all active Devices connected to the software.


Constructor & Destructor Documentation

◆ DeviceManager()

Member Function Documentation

◆ addDevice()

void addDevice ( Device * device)

◆ DefaultManager()

static DeviceManager & DefaultManager ( )
static

◆ device()

Device * device ( const UUID & id)
inline

◆ deviceRemovedSignal

void deviceRemovedSignal ( const UUID & id)
signal

◆ devicesAddedSignal

void devicesAddedSignal ( const Buffer< UUID > & ids)
signal

◆ hasDevice()

bool hasDevice ( const UUID & id) const
inline

◆ removeDevice()

void removeDevice ( const UUID & id)

◆ update()

void update ( )

Member Data Documentation

◆ m_added_objects

Buffer<UUID> m_added_objects
protected

◆ m_device_lookup

Dictionary<UUID, Device*> m_device_lookup
protected

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