SettingsModifier.h
Go to the documentation of this file.
1 // Copyright (c) 2016 Digital Barriers
4 
32 #pragma once
33 
34 #include "EncoderConfig.h"
35 #include "EncoderProfile.h"
36 #include "CameraInfo.h"
37 #include "OpResult.h"
38 
39 #include <vector>
40 
41 namespace EdgeVisDecoderSDK
42 {
43  class EncoderSettings;
44  struct SettingsModifierImpl;
45 
47  {
48  public:
49 
56  DB_EDGEVIS_SDK SettingsModifier(EncoderSettings settings);
57  DB_EDGEVIS_SDK virtual ~SettingsModifier();
58 
83  DB_EDGEVIS_SDK OpResult Commit(const EncoderConfig& cfg);
84 
109  DB_EDGEVIS_SDK OpResult Commit(const EncoderProfile& profile);
110 
123  DB_EDGEVIS_SDK OpResult Commit(const std::vector < EncoderProfile >& profiles);
124 
140  DB_EDGEVIS_SDK OpResult Commit(const CameraInfo& ci);
141 
142  private:
143  SettingsModifierImpl* m_impl;
144  };
145 }
DB_EDGEVIS_SDK SettingsModifier(EncoderSettings settings)
Creates a new SettingsModifier object that will be used to modify settings on the specified Encoder...
The EncoderProfile interface contains Encoder connection profile settings.
Definition: EncoderProfile.h:53
DB_EDGEVIS_SDK OpResult Commit(const EncoderConfig &cfg)
Applies Encoder configuration changes.
The EncoderSettings interface provides access to an Encoder&#39;s configuration, connection profile and c...
Definition: EncoderSettings.h:93
The EncoderConfig interface contains the Encoder&#39;s global configuration settings. ...
Definition: EncoderConfig.h:69
The CameraInfo interface contains the settings for a Camera connected to one of the Encoder&#39;s camera ...
Definition: CameraInfo.h:43
The EdgeVis Decoder SDK namespace.
The settings modifier is used to change the settings on an Encoder.
Definition: SettingsModifier.h:46
OpResult
Result of an operation.
Definition: OpResult.h:25