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, IMetadataPacket0>
17 {
18 public:
19  static auto interfaceId() { return makeId("nx::sdk::analytics::IMotionMetadataPacket"); }
20 
31  virtual const uint8_t* motionData() const = 0;
32 
38  virtual int motionDataSize() const = 0;
39 
43  virtual int rowCount() const = 0;
44 
48  virtual int columnCount() const = 0;
49 
53  virtual bool isEmpty() const = 0;
54 
58  virtual bool isMotionAt(int columnIndex, int rowIndex) const = 0;
59 };
61 
62 } // namespace analytics
63 } // namespace sdk
64 } // namespace nx
virtual bool isMotionAt(int columnIndex, int rowIndex) const =0
Definition: i_motion_metadata_packet.h:16
Definition: interface.h:49
virtual const uint8_t * motionData() const =0
Definition: apple_utils.h:6