Digital Barriers
Digital Barriers EdgeVis Decoder SDK
Loading...
Searching...
No Matches
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
26namespace EV
27{
28 class ConnectionProfile;
29}
30
31namespace 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}
DB_EDGEVIS_SDK bool SetMaxBandwidth(const int32_t max_bw)
Set the maximum bandwidth for the connection profile.
DB_EDGEVIS_SDK std::wstring GetActiveConnectionTechnology() const
Determine the active connection technology for this connection profile.
DB_EDGEVIS_SDK bool SetMinBandwidthPercentage(const int32_t percentage)
Set the minimum bandwidth for the connection profile as a percentage of the maximum bandwidth.
DB_EDGEVIS_SDK int32_t GetMinBandwidth() const
Get the minimum bandwidth for the connection profile.
DB_EDGEVIS_SDK bool IsBackupConnectionProfile() const
Determine if this connection profile is the backup connection profile for the encoder.
DB_EDGEVIS_SDK int32_t GetMinBandwidthPercentage() const
Get the minimum bandwidth for the connection profile as a percentage of the maximum bandwidth.
DB_EDGEVIS_SDK std::wstring GetActiveConnectionMethod() const
Determine the active connection method for this connection profile.
DB_EDGEVIS_SDK std::wstring GetName() const
Get the name of the connection profile.
DB_EDGEVIS_SDK int32_t GetMaxBandwidth() const
Get the maximum bandwidth for the connection profile.
DB_EDGEVIS_SDK int32_t GetChannelCapacity() const
Get the channel bandwidth capacity for the connection profile.
DB_EDGEVIS_SDK bool IsActiveConnectionProfile() const
Determine if this connection profile is the active connection profile for the encoder.
DB_EDGEVIS_SDK bool SetChannelCapacity(const int32_t capacity)
Set the channel bandwidth capacity for the connection profile.
DB_EDGEVIS_SDK bool IsPrimaryConnectionProfile() const
Determine if this connection profile is the primary connection profile for the encoder.