Get Support
Digital Barriers EdgeVis Decoder SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SDKs
EdgeVisDecoderSDK
OnvifEvent.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"
22
#include "
CamsNotificationEventParamDesc.h
"
23
#include "Pimpl.h"
24
25
#include <vector>
26
27
namespace
EV
28
{
29
class
OnvifEvent;
30
}
31
32
namespace
EdgeVisDecoderSDK
33
{
34
class
OnvifEvent :
public
EdgeVisSDKPimpl<EV::OnvifEvent>
35
{
36
public
:
37
DB_EDGEVIS_SDK OnvifEvent();
38
DB_EDGEVIS_SDK ~OnvifEvent();
39
EdgeVisSDKPimplWeakConstructor(OnvifEvent);
40
41
public
:
42
48
DB_EDGEVIS_SDK std::wstring
GetTopic
()
const
;
49
55
DB_EDGEVIS_SDK int64_t
GetTimestamp
()
const
;
56
62
DB_EDGEVIS_SDK std::vector<std::pair<std::wstring, std::wstring>>
GetSources
()
const
;
63
69
DB_EDGEVIS_SDK std::vector<std::pair<std::wstring, std::wstring>>
GetKeys
()
const
;
70
76
DB_EDGEVIS_SDK std::vector<std::pair<std::wstring, std::wstring>>
GetData
()
const
;
77
83
DB_EDGEVIS_SDK std::wstring
GetOnvifXML
()
const
;
84
90
DB_EDGEVIS_SDK
bool
IsProperty
()
const
;
91
};
92
}
CamsNotificationEventParamDesc.h
EdgeVisDecoderSDK::OnvifEvent::GetOnvifXML
DB_EDGEVIS_SDK std::wstring GetOnvifXML() const
Returns an ONVIF XML representation of the event.
EdgeVisDecoderSDK::OnvifEvent::GetData
DB_EDGEVIS_SDK std::vector< std::pair< std::wstring, std::wstring > > GetData() const
Returns the list of data associated with this event.
EdgeVisDecoderSDK::OnvifEvent::GetKeys
DB_EDGEVIS_SDK std::vector< std::pair< std::wstring, std::wstring > > GetKeys() const
Returns the list of keys associated with this event.
EdgeVisDecoderSDK::OnvifEvent::GetTopic
DB_EDGEVIS_SDK std::wstring GetTopic() const
Returns the ONVIF event topic.
EdgeVisDecoderSDK::OnvifEvent::GetTimestamp
DB_EDGEVIS_SDK int64_t GetTimestamp() const
Returns the ONVIF event timestamp in milliseconds since epoch.
EdgeVisDecoderSDK::OnvifEvent::GetSources
DB_EDGEVIS_SDK std::vector< std::pair< std::wstring, std::wstring > > GetSources() const
Returns the list of sources associated with this event.
EdgeVisDecoderSDK::OnvifEvent::IsProperty
DB_EDGEVIS_SDK bool IsProperty() const
Is this event a property.
EdgeVisDecoderSDK
The EdgeVis Decoder SDK namespace.
Generated on
for Digital Barriers EdgeVis Decoder SDK by
1.18.0