Get Support
Digital Barriers EdgeVis Decoder SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SDKs
EdgeVisDecoderSDK
CamsGetNotificationsResult.h
Go to the documentation of this file.
1
2
// Copyright (c) 2017 Digital Barriers
4
20
21
#pragma once
22
#include "EdgeVisSDK.h"
23
#include "Pimpl.h"
24
#include "
CamsNotification.h
"
25
#include "
CamsNotificationStateDesc.h
"
26
#include <vector>
27
28
namespace
EdgeVisDecoderSDK
29
{
30
class
CamsGetNotificationsResultImpl;
31
32
class
CamsGetNotificationsResult :
public
EdgeVisSDKPimpl<CamsGetNotificationsResultImpl>
33
{
34
public
:
35
DB_EDGEVIS_SDK CamsGetNotificationsResult();
36
CamsGetNotificationsResult(
bool
hasError, std::wstring errMsg);
37
CamsGetNotificationsResult(
bool
hasError, std::wstring errMsg,
bool
hasMorePages, std::vector<CamsNotification> notifications, std::vector<CamsNotificationStateDesc> states);
38
DB_EDGEVIS_SDK
virtual
~CamsGetNotificationsResult();
39
EdgeVisSDKPimplWeakConstructor(CamsGetNotificationsResult);
40
41
public
:
42
49
DB_EDGEVIS_SDK
bool
HasError
();
50
56
DB_EDGEVIS_SDK std::wstring
GetErrorMsg
();
57
58
67
DB_EDGEVIS_SDK
bool
HasMorePages
();
68
76
DB_EDGEVIS_SDK std::vector<CamsNotification>
GetNotifications
();
77
84
DB_EDGEVIS_SDK std::vector<CamsNotificationStateDesc>
GetNotificationStates
();
85
};
86
}
CamsNotification.h
CamsNotificationStateDesc.h
EdgeVisDecoderSDK::CamsGetNotificationsResult::HasError
DB_EDGEVIS_SDK bool HasError()
Determine if the request to retrieve a page of CAMS notifications encountered any errors.
EdgeVisDecoderSDK::CamsGetNotificationsResult::GetNotificationStates
DB_EDGEVIS_SDK std::vector< CamsNotificationStateDesc > GetNotificationStates()
Retrieve the total number of notifications in each state available on the Server.
EdgeVisDecoderSDK::CamsGetNotificationsResult::GetErrorMsg
DB_EDGEVIS_SDK std::wstring GetErrorMsg()
Retrieve an error message in the case of an error.
EdgeVisDecoderSDK::CamsGetNotificationsResult::HasMorePages
DB_EDGEVIS_SDK bool HasMorePages()
Determine if there are more existing notifications available at the Server.
EdgeVisDecoderSDK::CamsGetNotificationsResult::GetNotifications
DB_EDGEVIS_SDK std::vector< CamsNotification > GetNotifications()
Retrieve the page of historical notifications returned from the Server.
EdgeVisDecoderSDK
The EdgeVis Decoder SDK namespace.
Generated on
for Digital Barriers EdgeVis Decoder SDK by
1.18.0