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

#include <DeviceManager.h>

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

Signals

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

Public Member Functions

 DeviceManager ()
 
bool hasDevice (const UUID &id) const
 
Devicedevice (const UUID &id)
 
void addDevice (Device *device)
 
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
 

Constructor & Destructor Documentation

◆ DeviceManager()

Member Function Documentation

◆ addDevice()

void addDevice ( Device * device)

◆ DefaultManager()

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 files: