Get Support
Digital Barriers EdgeVis Decoder SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SDKs
EdgeVisDecoderSDK
ServerInfo.h
Go to the documentation of this file.
1
2
// Copyright (c) 2016 Digital Barriers
4
17
18
#pragma once
19
20
#include <string>
21
#include "EdgeVisSDK.h"
22
#include "Pimpl.h"
23
#include "
OpResult.h
"
24
25
namespace
EdgeVisDecoderSDK
26
{
27
class
ServerInfoImpl;
28
29
class
ServerInfo :
public
EdgeVisSDKPimpl<ServerInfoImpl>
30
{
31
public
:
32
DB_EDGEVIS_SDK ServerInfo();
33
ServerInfo(
34
const
std::string& address,
35
const
std::string& name,
36
const
std::string& version,
37
const
std::string& uniqueID,
38
OpResult
result =
OR_Unknown
);
39
EdgeVisSDKPimplWeakConstructor(ServerInfo);
40
DB_EDGEVIS_SDK
virtual
~ServerInfo();
41
47
DB_EDGEVIS_SDK std::wstring
Address
()
const
;
48
54
DB_EDGEVIS_SDK
bool
SetIPAddress
(
const
std::wstring& ip_address);
55
61
DB_EDGEVIS_SDK std::wstring
IPAddress
()
const
;
62
68
DB_EDGEVIS_SDK std::wstring
Name
()
const
;
69
75
DB_EDGEVIS_SDK std::wstring
Version
()
const
;
76
83
DB_EDGEVIS_SDK std::wstring
UniqueID
()
const
;
84
94
DB_EDGEVIS_SDK
OpResult
GetResult
()
const
;
95
102
DB_EDGEVIS_SDK
bool
HasClientCamsFeature
()
const
;
103
109
DB_EDGEVIS_SDK
bool
HasDevicePasswordFeature
()
const
;
110
116
DB_EDGEVIS_SDK std::wstring
GetServerBaseURL
()
const
;
117
125
DB_EDGEVIS_SDK std::vector<int32_t>
SupportedStreamProfileAPILevels
()
const
;
126
};
127
}
OpResult.h
OpResult
OpResult
Result of an operation.
Definition
OpResult.h:26
OR_Unknown
@ OR_Unknown
Unknown error.
Definition
OpResult.h:118
EdgeVisDecoderSDK::ServerInfo::Name
DB_EDGEVIS_SDK std::wstring Name() const
Returns the name of the server.
EdgeVisDecoderSDK::ServerInfo::Address
DB_EDGEVIS_SDK std::wstring Address() const
Returns the address of the server.
EdgeVisDecoderSDK::ServerInfo::SupportedStreamProfileAPILevels
DB_EDGEVIS_SDK std::vector< int32_t > SupportedStreamProfileAPILevels() const
Check the stream profile API levels supported on this server.
EdgeVisDecoderSDK::ServerInfo::HasClientCamsFeature
DB_EDGEVIS_SDK bool HasClientCamsFeature() const
Check if this server supports CAMS rule builder in client applications.
EdgeVisDecoderSDK::ServerInfo::IPAddress
DB_EDGEVIS_SDK std::wstring IPAddress() const
Returns the IP address of the server.
EdgeVisDecoderSDK::ServerInfo::SetIPAddress
DB_EDGEVIS_SDK bool SetIPAddress(const std::wstring &ip_address)
Set the IP address of the server currently connected.
EdgeVisDecoderSDK::ServerInfo::UniqueID
DB_EDGEVIS_SDK std::wstring UniqueID() const
The unique ID of the server.
EdgeVisDecoderSDK::ServerInfo::GetServerBaseURL
DB_EDGEVIS_SDK std::wstring GetServerBaseURL() const
Retrieve the base URL for the server's web pages.
EdgeVisDecoderSDK::ServerInfo::GetResult
DB_EDGEVIS_SDK OpResult GetResult() const
Gets the result that was set when the info was populated.
EdgeVisDecoderSDK::ServerInfo::Version
DB_EDGEVIS_SDK std::wstring Version() const
The version number of the server.
EdgeVisDecoderSDK::ServerInfo::HasDevicePasswordFeature
DB_EDGEVIS_SDK bool HasDevicePasswordFeature() const
Check if this server supports the device password feature.
EdgeVisDecoderSDK
The EdgeVis Decoder SDK namespace.
Generated on
for Digital Barriers EdgeVis Decoder SDK by
1.18.0