Digital Barriers
Digital Barriers EdgeVis Decoder SDK
Loading...
Searching...
No Matches
CameraInfo.h
Go to the documentation of this file.
1
2// Copyright (c) 2016 Digital Barriers
4
29
30#pragma once
31
32#include "EdgeVisSDK.h"
33
34#include <vector>
35#include "ISettings.h"
36#include "PTZTypes.h"
37#include "Pimpl.h"
38
39namespace EdgeVisDecoderSDK
40{
41 class CameraInfoImpl;
42
43 class CameraInfo : public ISettings, public EdgeVisSDKPimpl<CameraInfoImpl>
44 {
45 private:
46 friend class CameraInfoImpl;
47 public:
48 DB_EDGEVIS_SDK CameraInfo();
49 EdgeVisSDKPimplWeakConstructor(CameraInfo);
50 DB_EDGEVIS_SDK virtual ~CameraInfo();
51
52 public:
53
59 DB_EDGEVIS_SDK int32_t InputId() const;
60
66 DB_EDGEVIS_SDK bool Enabled() const;
67
74 DB_EDGEVIS_SDK bool PTZEnabled() const;
75
83 DB_EDGEVIS_SDK std::wstring PTZCameraType() const;
84
92 DB_EDGEVIS_SDK int32_t MaxPTZPresets() const;
93
99 typedef std::vector< PTZPresetInfo > PTZPresetsList;
100
107 DB_EDGEVIS_SDK PTZPresetsList PTZPresets() const;
108
109 void SetPresetInfo( const PTZPresetInfo& preset );
110
116 typedef std::vector< PTZCustomCommand > PTZCustomCommandList;
117
124
131 DB_EDGEVIS_SDK bool IsVirtualInput() const;
132
139 DB_EDGEVIS_SDK bool AnalyticsEnabled() const;
140
141
147 DB_EDGEVIS_SDK std::wstring InputName() const;
148
149
150
151 public:
152 // ISettings methods
153 DB_EDGEVIS_SDK virtual std::wstring Name() const;
154
155 };
156}
DB_EDGEVIS_SDK PTZPresetsList PTZPresets() const
Gets a list of PTZ presets for the camera.
std::vector< PTZCustomCommand > PTZCustomCommandList
List of Custom Commands.
Definition CameraInfo.h:116
std::vector< PTZPresetInfo > PTZPresetsList
List of PTZPresetInfo.
Definition CameraInfo.h:99
DB_EDGEVIS_SDK std::wstring InputName() const
Gets the camera input name for the camera.
virtual DB_EDGEVIS_SDK std::wstring Name() const
Gets the name of the settings object.
DB_EDGEVIS_SDK bool IsVirtualInput() const
Determines if the camera input is a virtual input.
DB_EDGEVIS_SDK bool PTZEnabled() const
Determines if the camera input supports PTZ.
DB_EDGEVIS_SDK PTZCustomCommandList PTZCustomCommands() const
Gets a list of available PTZ custom commands he camera supports.
DB_EDGEVIS_SDK int32_t MaxPTZPresets() const
Gets the maximum number of PTZ presets that the camera supports.
DB_EDGEVIS_SDK bool AnalyticsEnabled() const
Determines if the camera input has analytics enabled.
DB_EDGEVIS_SDK std::wstring PTZCameraType() const
Gets the PTZ camera type (e.g.
DB_EDGEVIS_SDK bool Enabled() const
Gets the Enabled state of the camera input.
DB_EDGEVIS_SDK int32_t InputId() const
Gets the camera input ID for the camera.
Definition of the ISettings interface class.
Definition ISettings.h:35
The EdgeVis Decoder SDK namespace.
Defines a PTZ Preset.
Definition PTZTypes.h:38