nx_metadata_sdk 1.0 Metadata SDK

Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
nx::sdk::analytics::IConsumingDeviceAgent Class Referenceabstract

`#include <i_consuming_device_agent.h>`

Inheritance diagram for nx::sdk::analytics::IConsumingDeviceAgent:

## Public Member Functions
Result< void > | pushDataPacket (IDataPacket *dataPacket)
Public Member Functions inherited from nx::sdk::Interface< IConsumingDeviceAgent, IDeviceAgent >
virtual IRefCountable * | queryInterface (const InterfaceId *id)
Ptr< Interface > | queryInterface ()
Ptr< const Interface > | queryInterface () const

## Static Public Member Functions
static auto | interfaceId ()

## Protected Member Functions
virtual void | doPushDataPacket (Result< void > *outResult, IDataPacket *dataPacket)=0
Protected Member Functions inherited from nx::sdk::Interface< IConsumingDeviceAgent, IDeviceAgent >
virtual IRefCountable * | queryInterface (const IRefCountable::InterfaceId *id) override
IRefCountable * | queryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)

## Detailed Description

Interface for a DeviceAgent that requires input (e.g. audio or video stream) from the Device.

## Member Function Documentation

## ◆ doPushDataPacket()

virtual void nx::sdk::analytics::IConsumingDeviceAgent::doPushDataPacket | ( | Result< void > * | outResult,
|  | IDataPacket * | dataPacket
| ) |  |
| protected pure virtual

Supplies data to the Engine. Called from a worker thread.

Parameters

  dataPacket | Never null. Has a valid timestamp >= 0.

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

- src/nx/sdk/analytics/i_consuming_device_agent.h