3#include <NDEVR/Device.h>
17 return m_device_lookup.hasKey(
id);
21 return m_device_lookup.get(
id);
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A root class which describes some physical object, such as a Motor, Sensor, or Connection....
Definition Device.h:52
Container for all active Devices connected to the software.
Definition DeviceManager.h:11
static DeviceManager & DefaultManager()
Buffer< UUID > m_added_objects
Definition DeviceManager.h:32
void removeDevice(const UUID &id)
void deviceRemovedSignal(const UUID &id)
Device * device(const UUID &id)
Definition DeviceManager.h:19
bool hasDevice(const UUID &id) const
Definition DeviceManager.h:15
void addDevice(Device *device)
Dictionary< UUID, Device * > m_device_lookup
Definition DeviceManager.h:33
void devicesAddedSignal(const Buffer< UUID > &ids)
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60