AnalyticsData.h
Go to the documentation of this file.
1 // Copyright (c) 2017 Digital Barriers
4 
19 #pragma once
20 
21 #include "StreamData.h"
22 #include "AnalyticsActorInfo.h"
23 #include "EdgeVisSDK.h"
24 
25 #include <vector>
26 
27 namespace EdgeVisDecoderSDK
28 {
29  class AnalyticsDataImpl;
30 
31  class AnalyticsData : public StreamData
32  {
33  public:
34  DB_EDGEVIS_SDK AnalyticsData();
35  AnalyticsData( std::weak_ptr<AnalyticsDataImpl> pimpl );
36  DB_EDGEVIS_SDK AnalyticsData( StreamData data );
37 
38  DB_EDGEVIS_SDK virtual ~AnalyticsData();
39 
45  DB_EDGEVIS_SDK std::vector<AnalyticsActorInfo> GetActors() const;
46 
52  DB_EDGEVIS_SDK int64_t GetTimeStamp() const;
53  };
54 }
DB_EDGEVIS_SDK int64_t GetTimeStamp() const
Gets the timestamp of the analytics data.
This is the base class for the StreamData objects.
Definition: StreamData.h:27
DB_EDGEVIS_SDK std::vector< AnalyticsActorInfo > GetActors() const
Gets analytics actor for the frame.
Encoders equipped with SafeZone 2D analytics will return analytics data when an object is detected...
Definition: AnalyticsData.h:31
The EdgeVis Decoder SDK namespace.