OnvifMetadata.h
Go to the documentation of this file.
1 // Copyright (c) 2019 Digital Barriers
4 
23 #pragma once
24 
25 #include "StreamData.h"
26 #include "EdgeVisSDK.h"
27 
28 namespace EdgeVisDecoderSDK
29 {
30  class OnvifMetadataImpl;
31 
32  class OnvifMetadata : public StreamData
33  {
34  public:
35 
36  DB_EDGEVIS_SDK OnvifMetadata();
37 
38  OnvifMetadata(std::weak_ptr<OnvifMetadataImpl> pimpl);
39 
40  DB_EDGEVIS_SDK OnvifMetadata(StreamData data);
41 
42  DB_EDGEVIS_SDK virtual ~OnvifMetadata();
43 
49  DB_EDGEVIS_SDK std::wstring Metadata() const;
50 
56  DB_EDGEVIS_SDK int64_t Timestamp() const;
57 
63  DB_EDGEVIS_SDK std::wstring SourceStream() const;
64  };
65 }
DB_EDGEVIS_SDK std::wstring Metadata() const
Return ONVIF XML formatted analytics data.
Provides analytics data in ONVIF XML format: https://www.onvif.org/specs/srv/analytics/ONVIF-VideoAna...
Definition: OnvifMetadata.h:32
DB_EDGEVIS_SDK int64_t Timestamp() const
Return the timestamp associated with the ONVIF metadata.
This is the base class for the StreamData objects.
Definition: StreamData.h:27
The EdgeVis Decoder SDK namespace.
DB_EDGEVIS_SDK std::wstring SourceStream() const
Determine which stream produced this OnvifMetadata object.