nx_server_plugin_sdk 1.0 Server Plugin SDK

i_motion_metadata_packet.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3 #pragma once
4
5 #include <nx/sdk/analytics/i_metadata_packet.h>
6 #include <nx/sdk/interface.h>
7
8 namespace nx::sdk::analytics {
9
13 class IMotionMetadataPacket: public Interface<IMotionMetadataPacket, IMetadataPacket0>
14 {
15 public:
16 static auto interfaceId() { return makeId("nx::sdk::analytics::IMotionMetadataPacket"); }
17
28 virtual const uint8_t* motionData() const = 0;
29
35 virtual int motionDataSize() const = 0;
36
40 virtual int rowCount() const = 0;
41
45 virtual int columnCount() const = 0;
46
50 virtual bool isEmpty() const = 0;
51
55 virtual bool isMotionAt(int columnIndex, int rowIndex) const = 0;
56 };
57 using IMotionMetadataPacket0 = IMotionMetadataPacket;
58
59 } // namespace nx::sdk::analytics
nx::sdk::analytics::IMotionMetadataPacket::isMotionAt
virtual bool isMotionAt(int columnIndex, int rowIndex) const =0
nx::sdk::analytics::IMotionMetadataPacket
Definition: i_motion_metadata_packet.h:13
nx::sdk::Interface
Definition: interface.h:48
nx::sdk::analytics
Definition: consuming_device_agent.cpp:25
nx::sdk::analytics::IMotionMetadataPacket::rowCount
virtual int rowCount() const =0
nx::sdk::analytics::IMotionMetadataPacket::motionData
virtual const uint8_t * motionData() const =0
nx::sdk::analytics::IMotionMetadataPacket::isEmpty
virtual bool isEmpty() const =0
nx::sdk::analytics::IMotionMetadataPacket::motionDataSize
virtual int motionDataSize() const =0
nx::sdk::analytics::IMotionMetadataPacket::columnCount
virtual int columnCount() const =0