nx_metadata_sdk
1.0
Metadata SDK
|
#include <i_device_manager.h>
Classes | |
class | IDeviceManagerHandler |
Public Member Functions | |
virtual Result< IDevice * > | addDevice (const IDeviceInfo *deviceInfo) |
virtual void | startNotifications ()=0 |
![]() | |
virtual IRefCountable * | queryInterface (const InterfaceId *id) |
Ptr< Interface > | queryInterface () |
Ptr< const Interface > | queryInterface () const |
![]() | |
virtual | ~IRefCountable ()=default |
template<class Interface > | |
Ptr< Interface > | queryInterface () |
template<class Interface > | |
Ptr< const Interface > | queryInterface () const |
virtual int | addRef () const =0 |
virtual int | releaseRef () const =0 |
int | refCountThreadUnsafe () const |
Static Public Member Functions | |
static auto | interfaceId () |
![]() | |
static auto | interfaceId () |
Protected Member Functions | |
virtual void | doAddDevice (Result< IDevice *> *outResult, const IDeviceInfo *deviceInfo)=0 |
![]() | |
virtual IRefCountable * | queryInterface (const IRefCountable::InterfaceId *id) override |
IRefCountable * | queryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId) |
Additional Inherited Members | |
![]() | |
template<int len> | |
static constexpr const InterfaceId * | makeId (const char(&charArray)[len]) |
template<class TemplateInstance , class TemplateArg , int len> | |
static const InterfaceId * | makeIdForTemplate (const char(&baseIdCharArray)[len]) |
Streaming/recording device management.
|
protectedpure virtual |
Add a new device described by deviceInfo. If device exists, it should be returned.
|
pure virtual |
No IDeviceManagerHandler::onDeviceArchiveAltered() should be called before this function has been called.