nx_metadata_sdk  1.0
Metadata 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/interface.h>
6 
7 #include <nx/sdk/analytics/i_metadata_packet.h>
8 
9 namespace nx {
10 namespace sdk {
11 namespace analytics {
12 
16 class IMotionMetadataPacket: public Interface<IMotionMetadataPacket, IMetadataPacket>
17 {
18 public:
19  static auto interfaceId() { return makeId("nx::sdk::analytics::IMotionMetadataPacket"); }
20 
30  virtual const uint8_t* motionData() const = 0;
31 
37  virtual int motionDataSize() const = 0;
38 
42  virtual int rowCount() const = 0;
43 
47  virtual int columnCount() const = 0;
48 
52  virtual bool isEmpty() const = 0;
53 
57  virtual bool isMotionAt(int columnIndex, int rowIndex) const = 0;
58 };
59 
60 } // namespace analytics
61 } // namespace sdk
62 } // namespace nx
virtual bool isMotionAt(int columnIndex, int rowIndex) const =0
Definition: i_motion_metadata_packet.h:16
Definition: interface.h:28
virtual const uint8_t * motionData() const =0
Definition: apple_utils.h:6