Digital Barriers
Digital Barriers EdgeVis Decoder SDK
Loading...
Searching...
No Matches
OnvifTopic.h
Go to the documentation of this file.
1
2// Copyright (c) 2024 Digital Barriers Services Ltd.
4
18
19#pragma once
20
21#include "EdgeVisSDK.h"
23#include "Pimpl.h"
24
25#include <vector>
26
27namespace EV
28{
29 class OnvifTopic;
30}
31
32namespace EdgeVisDecoderSDK
33{
34 class OnvifTopic : public EdgeVisSDKPimpl<EV::OnvifTopic>
35 {
36 public:
37 DB_EDGEVIS_SDK OnvifTopic();
38 DB_EDGEVIS_SDK ~OnvifTopic();
39 EdgeVisSDKPimplWeakConstructor(OnvifTopic);
40
41 public:
42
48 DB_EDGEVIS_SDK std::wstring GetTopic() const;
49
55 DB_EDGEVIS_SDK static std::vector<OnvifTopic> GetOnvifEventTopics();
56
57
63 DB_EDGEVIS_SDK std::vector<std::pair<std::wstring, std::wstring>> GetSourceDescriptions() const;
64
70 DB_EDGEVIS_SDK std::vector<std::pair<std::wstring, std::wstring>> GetKeyDescriptions() const;
71
77 DB_EDGEVIS_SDK std::vector<std::pair<std::wstring, std::wstring>> GetDataDescriptions() const;
78
84 DB_EDGEVIS_SDK bool IsProperty() const;
85
93 DB_EDGEVIS_SDK static std::wstring GetEventPropertiesResponseXML(const std::vector<OnvifTopic>& topics);
94
95 };
96}
static DB_EDGEVIS_SDK std::wstring GetEventPropertiesResponseXML(const std::vector< OnvifTopic > &topics)
Build an ONVIF GetEventProperties XML response for the list of topics supplied.
DB_EDGEVIS_SDK std::vector< std::pair< std::wstring, std::wstring > > GetSourceDescriptions() const
Returns the list of source descriptions associated with this topic.
DB_EDGEVIS_SDK std::vector< std::pair< std::wstring, std::wstring > > GetKeyDescriptions() const
Returns the list of key descriptions associated with this topic.
static DB_EDGEVIS_SDK std::vector< OnvifTopic > GetOnvifEventTopics()
Returns the ONVIF event topic.
DB_EDGEVIS_SDK std::vector< std::pair< std::wstring, std::wstring > > GetDataDescriptions() const
Returns the list of data descriptions associated with this topic.
DB_EDGEVIS_SDK std::wstring GetTopic() const
Returns the ONVIF event topic.
DB_EDGEVIS_SDK bool IsProperty() const
Is this topic a property.
The EdgeVis Decoder SDK namespace.