Get Support
Digital Barriers EdgeVis Decoder SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SDKs
EdgeVisSDKCore
ConnectionProfile.h
Go to the documentation of this file.
1
2
// Copyright (c) 2019 Digital Barriers
4
17
18
#pragma once
19
20
#include "EdgeVisSDK.h"
21
#include "Pimpl.h"
22
23
#include <string>
24
#include <stdint.h>
25
26
namespace
EV
27
{
28
class
ConnectionProfile;
29
}
30
31
namespace
EdgeVisSDKCore
32
{
33
class
ConnectionProfile :
public
EdgeVisSDKPimpl<EV::ConnectionProfile>
34
{
35
public
:
36
DB_EDGEVIS_SDK ConnectionProfile();
37
EdgeVisSDKPimplWeakConstructor(ConnectionProfile);
38
39
DB_EDGEVIS_SDK
virtual
~ConnectionProfile();
40
46
DB_EDGEVIS_SDK std::wstring
GetName
()
const
;
47
53
DB_EDGEVIS_SDK int32_t
GetMinBandwidth
()
const
;
54
60
DB_EDGEVIS_SDK int32_t
GetMaxBandwidth
()
const
;
61
67
DB_EDGEVIS_SDK int32_t
GetChannelCapacity
()
const
;
68
74
DB_EDGEVIS_SDK int32_t
GetMinBandwidthPercentage
()
const
;
75
83
DB_EDGEVIS_SDK
bool
SetMaxBandwidth
(
const
int32_t max_bw);
84
94
DB_EDGEVIS_SDK
bool
SetMinBandwidthPercentage
(
const
int32_t percentage);
95
101
DB_EDGEVIS_SDK
bool
SetChannelCapacity
(
const
int32_t capacity);
102
108
DB_EDGEVIS_SDK
bool
IsPrimaryConnectionProfile
()
const
;
109
115
DB_EDGEVIS_SDK
bool
IsBackupConnectionProfile
()
const
;
116
122
DB_EDGEVIS_SDK
bool
IsActiveConnectionProfile
()
const
;
123
129
DB_EDGEVIS_SDK std::wstring
GetActiveConnectionTechnology
()
const
;
130
136
DB_EDGEVIS_SDK std::wstring
GetActiveConnectionMethod
()
const
;
137
};
138
}
EdgeVisSDKCore::ConnectionProfile::SetMaxBandwidth
DB_EDGEVIS_SDK bool SetMaxBandwidth(const int32_t max_bw)
Set the maximum bandwidth for the connection profile.
EdgeVisSDKCore::ConnectionProfile::GetActiveConnectionTechnology
DB_EDGEVIS_SDK std::wstring GetActiveConnectionTechnology() const
Determine the active connection technology for this connection profile.
EdgeVisSDKCore::ConnectionProfile::SetMinBandwidthPercentage
DB_EDGEVIS_SDK bool SetMinBandwidthPercentage(const int32_t percentage)
Set the minimum bandwidth for the connection profile as a percentage of the maximum bandwidth.
EdgeVisSDKCore::ConnectionProfile::GetMinBandwidth
DB_EDGEVIS_SDK int32_t GetMinBandwidth() const
Get the minimum bandwidth for the connection profile.
EdgeVisSDKCore::ConnectionProfile::IsBackupConnectionProfile
DB_EDGEVIS_SDK bool IsBackupConnectionProfile() const
Determine if this connection profile is the backup connection profile for the encoder.
EdgeVisSDKCore::ConnectionProfile::GetMinBandwidthPercentage
DB_EDGEVIS_SDK int32_t GetMinBandwidthPercentage() const
Get the minimum bandwidth for the connection profile as a percentage of the maximum bandwidth.
EdgeVisSDKCore::ConnectionProfile::GetActiveConnectionMethod
DB_EDGEVIS_SDK std::wstring GetActiveConnectionMethod() const
Determine the active connection method for this connection profile.
EdgeVisSDKCore::ConnectionProfile::GetName
DB_EDGEVIS_SDK std::wstring GetName() const
Get the name of the connection profile.
EdgeVisSDKCore::ConnectionProfile::GetMaxBandwidth
DB_EDGEVIS_SDK int32_t GetMaxBandwidth() const
Get the maximum bandwidth for the connection profile.
EdgeVisSDKCore::ConnectionProfile::GetChannelCapacity
DB_EDGEVIS_SDK int32_t GetChannelCapacity() const
Get the channel bandwidth capacity for the connection profile.
EdgeVisSDKCore::ConnectionProfile::IsActiveConnectionProfile
DB_EDGEVIS_SDK bool IsActiveConnectionProfile() const
Determine if this connection profile is the active connection profile for the encoder.
EdgeVisSDKCore::ConnectionProfile::SetChannelCapacity
DB_EDGEVIS_SDK bool SetChannelCapacity(const int32_t capacity)
Set the channel bandwidth capacity for the connection profile.
EdgeVisSDKCore::ConnectionProfile::IsPrimaryConnectionProfile
DB_EDGEVIS_SDK bool IsPrimaryConnectionProfile() const
Determine if this connection profile is the primary connection profile for the encoder.
Generated on
for Digital Barriers EdgeVis Decoder SDK by
1.18.0