Get Support
Digital Barriers EdgeVis Decoder SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SDKs
EdgeVisDecoderSDK
CamsNotification.h
Go to the documentation of this file.
1
2
// Copyright (c) 2017 Digital Barriers
4
22
23
#pragma once
24
25
#include "EdgeVisSDK.h"
26
#include "Pimpl.h"
27
#include "
ECamsNotificationState.h
"
28
#include "
CamsNotificationAttachmentInfo.h
"
29
#include "
CamsNotificationEventDesc.h
"
30
31
namespace
EdgeVisDecoderSDK
32
{
33
class
CamsNotificationImpl;
34
35
class
CamsNotification :
public
EdgeVisSDKPimpl<CamsNotificationImpl>
36
{
37
public
:
38
DB_EDGEVIS_SDK CamsNotification();
39
DB_EDGEVIS_SDK
virtual
~CamsNotification();
40
EdgeVisSDKPimplWeakConstructor(CamsNotification);
41
42
public
:
48
DB_EDGEVIS_SDK int64_t
GetId
()
const
;
49
55
DB_EDGEVIS_SDK std::wstring
GetRule
()
const
;
56
62
DB_EDGEVIS_SDK std::vector<CamsNotificationEventDesc>
GetEvents
()
const
;
63
69
DB_EDGEVIS_SDK std::vector<CamsNotificationAttachmentInfo>
GetAttachments
()
const
;
70
76
DB_EDGEVIS_SDK int64_t
GetTime
()
const
;
77
83
DB_EDGEVIS_SDK std::vector<std::wstring>
GetToList
()
const
;
84
90
DB_EDGEVIS_SDK
ECamsNotificationState
GetState
()
const
;
91
97
DB_EDGEVIS_SDK std::wstring
GetSubject
()
const
;
98
104
DB_EDGEVIS_SDK std::wstring
GetContent
()
const
;
105
111
DB_EDGEVIS_SDK
ECamsNotificationState
GetPreviousState
()
const
;
112
118
DB_EDGEVIS_SDK std::wstring
GetEncoderUUID
()
const
;
119
125
DB_EDGEVIS_SDK std::wstring
GetDeviceUUID
()
const
;
126
141
DB_EDGEVIS_SDK
bool
UpdateStateFromBulkNotification
(int64_t
id
,
ECamsNotificationState
old_state,
ECamsNotificationState
new_state);
142
};
143
}
CamsNotificationAttachmentInfo.h
CamsNotificationEventDesc.h
ECamsNotificationState.h
EdgeVisDecoderSDK::CamsNotification::GetTime
DB_EDGEVIS_SDK int64_t GetTime() const
Retrieve the timestamp that the CAMS rule generated this notification.
EdgeVisDecoderSDK::CamsNotification::GetPreviousState
DB_EDGEVIS_SDK ECamsNotificationState GetPreviousState() const
Retrieve the previous state of this notification.
EdgeVisDecoderSDK::CamsNotification::GetAttachments
DB_EDGEVIS_SDK std::vector< CamsNotificationAttachmentInfo > GetAttachments() const
Retrieve the list of attachments associated with this CAMS notification.
EdgeVisDecoderSDK::CamsNotification::GetToList
DB_EDGEVIS_SDK std::vector< std::wstring > GetToList() const
Retrieve the list of EdgeVis users who this notification was sent to.
EdgeVisDecoderSDK::CamsNotification::GetRule
DB_EDGEVIS_SDK std::wstring GetRule() const
Retrieve the unique ID of the CAMS rule that generated this notification.
EdgeVisDecoderSDK::CamsNotification::GetEvents
DB_EDGEVIS_SDK std::vector< CamsNotificationEventDesc > GetEvents() const
Retrieve the list of source encoder events that caused the CAMS rule to generate this notification.
EdgeVisDecoderSDK::CamsNotification::GetContent
DB_EDGEVIS_SDK std::wstring GetContent() const
Retrieve the message body for this notification.
EdgeVisDecoderSDK::CamsNotification::GetState
DB_EDGEVIS_SDK ECamsNotificationState GetState() const
Retrieve the current state of this notification.
EdgeVisDecoderSDK::CamsNotification::GetId
DB_EDGEVIS_SDK int64_t GetId() const
Retrieve the unique ID for this notification as generated by CAMS.
EdgeVisDecoderSDK::CamsNotification::GetEncoderUUID
DB_EDGEVIS_SDK std::wstring GetEncoderUUID() const
Retrieve the UUID of the Encoder associated with this rule if applicable.
EdgeVisDecoderSDK::CamsNotification::UpdateStateFromBulkNotification
DB_EDGEVIS_SDK bool UpdateStateFromBulkNotification(int64_t id, ECamsNotificationState old_state, ECamsNotificationState new_state)
Update the state of this notification based on receiving a bulk notification update from the Server.
EdgeVisDecoderSDK::CamsNotification::GetDeviceUUID
DB_EDGEVIS_SDK std::wstring GetDeviceUUID() const
Retrieve the UUID of the Device associated with this rule if applicable.
EdgeVisDecoderSDK::CamsNotification::GetSubject
DB_EDGEVIS_SDK std::wstring GetSubject() const
Retrieve the subject for this notification.
ECamsNotificationState
ECamsNotificationState
CAMS notification state types.
Definition
ECamsNotificationState.h:22
EdgeVisDecoderSDK
The EdgeVis Decoder SDK namespace.
Generated on
for Digital Barriers EdgeVis Decoder SDK by
1.18.0