EdgeVisDecoderSDK::OnvifEvent Class Reference

Detailed Description

Contains information relating to Onvif Events.

Produces ONVIF XML

Availability

Available in version 8.3.0 of Decoder SDK. Requires a server version greater than 6.5

#include <OnvifEvent.h>

Public Member Functions

DB_EDGEVIS_SDK std::wstring GetTopic () const
 Returns the ONVIF event topic. More...
 
DB_EDGEVIS_SDK int64_t GetTimestamp () const
 Returns the ONVIF event timestamp in milliseconds since epoch. More...
 
DB_EDGEVIS_SDK std::vector< std::pair< std::wstring, std::wstring > > GetSources () const
 Returns the list of sources associated with this event. More...
 
DB_EDGEVIS_SDK std::vector< std::pair< std::wstring, std::wstring > > GetKeys () const
 Returns the list of keys associated with this event. More...
 
DB_EDGEVIS_SDK std::vector< std::pair< std::wstring, std::wstring > > GetData () const
 Returns the list of data associated with this event. More...
 
DB_EDGEVIS_SDK std::wstring GetOnvifXML () const
 Returns an ONVIF XML representation of the event. More...
 
DB_EDGEVIS_SDK bool IsProperty () const
 Is this event a property. More...
 

Member Function Documentation

DB_EDGEVIS_SDK std::wstring EdgeVisDecoderSDK::OnvifEvent::GetTopic ( ) const

Returns the ONVIF event topic.

Returns
The string representation of the event topic.
DB_EDGEVIS_SDK int64_t EdgeVisDecoderSDK::OnvifEvent::GetTimestamp ( ) const

Returns the ONVIF event timestamp in milliseconds since epoch.

Returns
the ONVIF event timestamp in milliseconds.
DB_EDGEVIS_SDK std::vector<std::pair<std::wstring, std::wstring> > EdgeVisDecoderSDK::OnvifEvent::GetSources ( ) const

Returns the list of sources associated with this event.

Returns
The list of name value pair sources for this event.
DB_EDGEVIS_SDK std::vector<std::pair<std::wstring, std::wstring> > EdgeVisDecoderSDK::OnvifEvent::GetKeys ( ) const

Returns the list of keys associated with this event.

Returns
The list of name value pair keys for this event.
DB_EDGEVIS_SDK std::vector<std::pair<std::wstring, std::wstring> > EdgeVisDecoderSDK::OnvifEvent::GetData ( ) const

Returns the list of data associated with this event.

Returns
The list of name value pair data for this event.
DB_EDGEVIS_SDK std::wstring EdgeVisDecoderSDK::OnvifEvent::GetOnvifXML ( ) const

Returns an ONVIF XML representation of the event.

Returns
An ONVIF XML representation of the event
DB_EDGEVIS_SDK bool EdgeVisDecoderSDK::OnvifEvent::IsProperty ( ) const

Is this event a property.

Returns
true if the event is a property.

The documentation for this class was generated from the following file: