nx_metadata_sdk  1.0
Metadata SDK
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
nx::sdk::archive::IDeviceManager Class Referenceabstract

#include <i_device_manager.h>

Inheritance diagram for nx::sdk::archive::IDeviceManager:
nx::sdk::Interface< IDeviceManager > nx::sdk::IRefCountable

Classes

class  IDeviceManagerHandler
 

Public Member Functions

virtual Result< IDevice * > addDevice (const IDeviceInfo *deviceInfo)
 
virtual void startNotifications ()=0
 
- Public Member Functions inherited from nx::sdk::Interface< IDeviceManager >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::IRefCountable
virtual ~IRefCountable ()=default
 
template<class Interface >
Ptr< InterfacequeryInterface ()
 
template<class Interface >
Ptr< const InterfacequeryInterface () const
 
virtual int addRef () const =0
 
virtual int releaseRef () const =0
 
int refCountThreadUnsafe () const
 

Static Public Member Functions

static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IRefCountable
static auto interfaceId ()
 

Protected Member Functions

virtual void doAddDevice (Result< IDevice *> *outResult, const IDeviceInfo *deviceInfo)=0
 
- Protected Member Functions inherited from nx::sdk::Interface< IDeviceManager >
virtual IRefCountablequeryInterface (const IRefCountable::InterfaceId *id) override
 
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 

Additional Inherited Members

- Static Protected Member Functions inherited from nx::sdk::IRefCountable
template<int len>
static constexpr const InterfaceIdmakeId (const char(&charArray)[len])
 
template<class TemplateInstance , class TemplateArg , int len>
static const InterfaceIdmakeIdForTemplate (const char(&baseIdCharArray)[len])
 

Detailed Description

Streaming/recording device management.

Member Function Documentation

◆ doAddDevice()

virtual void nx::sdk::archive::IDeviceManager::doAddDevice ( Result< IDevice *> *  outResult,
const IDeviceInfo deviceInfo 
)
protectedpure virtual

Add a new device described by deviceInfo. If device exists, it should be returned.

◆ startNotifications()

virtual void nx::sdk::archive::IDeviceManager::startNotifications ( )
pure virtual

No IDeviceManagerHandler::onDeviceArchiveAltered() should be called before this function has been called.


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