nx_server_plugin_sdk 1.0 Server Plugin SDK

i_timestamped_object_metadata.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_object_metadata.h>
6
7 namespace nx::sdk::analytics {
8
9 class ITimestampedObjectMetadata: public Interface<ITimestampedObjectMetadata, IObjectMetadata0>
10 {
11 public:
12 static auto interfaceId() { return makeId("nx::sdk::analytics::ITimestampedObjectMetadata"); }
13
15 virtual int64_t timestampUs() const = 0;
16 };
17 using ITimestampedObjectMetadata0 = ITimestampedObjectMetadata;
18
19 } // namespace nx::sdk::analytics
nx::sdk::Interface
Definition: interface.h:48
nx::sdk::analytics
Definition: consuming_device_agent.cpp:25
nx::sdk::analytics::ITimestampedObjectMetadata::timestampUs
virtual int64_t timestampUs() const =0
nx::sdk::analytics::ITimestampedObjectMetadata
Definition: i_timestamped_object_metadata.h:9